commit f175c36fce08f1b20b97a2872e5edcfe693bbb16 Author: Anthony Leland Date: Mon Sep 21 01:52:28 2020 -0400 Initial source commit diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml new file mode 100644 index 0000000..50de3c6 --- /dev/null +++ b/.github/workflows/dotnet.yml @@ -0,0 +1,15 @@ +name: .NET + +on: [push, pull_request] + +jobs: + build: + runs-on: windows-latest + steps: + - uses: actions/checkout@v2 + - name: Setup msbuild + uses: microsoft/setup-msbuild@v1.0.1 + - name: Install dependencies + run: nuget restore src + - name: Build + run: msbuild src /verbosity:normal /p:Configuration=Release diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5702fe6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,509 @@ +# Created by https://www.toptal.com/developers/gitignore/api/rider,linux,macos,backup,windows,visualstudio,visualstudiocode,fsharp +# Edit at https://www.toptal.com/developers/gitignore?templates=rider,linux,macos,backup,windows,visualstudio,visualstudiocode,fsharp + +### Backup ### +*.bak +*.gho +*.ori +*.orig +*.tmp + +### fsharp ### +lib/debug +lib/release +Debug +*.suo +*.user +obj +bin +/build/ +*.exe +!.paket/paket.bootstrapper.exe +.ionide/ + +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### Rider ### +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/** +**/.idea/** + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +*.code-workspace + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history + +### Windows ### +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +### VisualStudio ### +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. +## +## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore + +# User-specific files +*.rsuser +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Mono auto generated files +mono_crash.* + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +[Aa][Rr][Mm]/ +[Aa][Rr][Mm]64/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ +[Ll]ogs/ + +# Visual Studio 2015/2017 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# Visual Studio 2017 auto generated files +Generated\ Files/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# Benchmark Results +BenchmarkDotNet.Artifacts/ + +# .NET Core +project.lock.json +project.fragment.lock.json +artifacts/ + +# StyleCop +StyleCopReport.xml + +# Files built by Visual Studio +*_i.c +*_p.c +*_h.h +*.ilk +*.meta +*.obj +*.iobj +*.pch +*.pdb +*.ipdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp_proj +*_wpftmp.csproj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# Visual Studio Trace Files +*.e2e + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# AxoCover is a Code Coverage Tool +.axoCover/* +!.axoCover/settings.json + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*[.json, .xml, .info] + +# Visual Studio code coverage results +*.coverage +*.coveragexml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# Note: Comment the next line if you want to checkin your web deploy settings, +# but database connection strings (with potential passwords) will be unencrypted +*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# NuGet Symbol Packages +*.snupkg +# The packages folder can be ignored because of Package Restore +**/[Pp]ackages/* +# except build/, which is used as an MSBuild target. +!**/[Pp]ackages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/[Pp]ackages/repositories.config +# NuGet v3's project.json files produces more ignorable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt +*.appx +*.appxbundle +*.appxupload + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!?*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +orleans.codegen.cs + +# Including strong name files can present a security risk +# (https://github.com/github/gitignore/pull/2483#issue-259490424) +#*.snk + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm +ServiceFabricBackup/ +*.rptproj.bak + +# SQL Server files +*.mdf +*.ldf +*.ndf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings +*.rptproj.rsuser +*- [Bb]ackup.rdl +*- [Bb]ackup ([0-9]).rdl +*- [Bb]ackup ([0-9][0-9]).rdl + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat +node_modules/ + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio 6 auto-generated workspace file (contains which files were open etc.) +*.vbw + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# CodeRush personal settings +.cr/personal + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc + +# Cake - Uncomment if you are using it +# tools/** +# !tools/packages.config + +# Tabs Studio +*.tss + +# Telerik's JustMock configuration file +*.jmconfig + +# BizTalk build output +*.btp.cs +*.btm.cs +*.odx.cs +*.xsd.cs + +# OpenCover UI analysis results +OpenCover/ + +# Azure Stream Analytics local run output +ASALocalRun/ + +# MSBuild Binary and Structured Log +*.binlog + +# NVidia Nsight GPU debugger configuration file +*.nvuser + +# MFractors (Xamarin productivity tool) working folder +.mfractor/ + +# Local History for Visual Studio +.localhistory/ + +# BeatPulse healthcheck temp database +healthchecksdb + +# Backup folder for Package Reference Convert tool in Visual Studio 2017 +MigrationBackup/ + +# Ionide (cross platform F# VS Code tools) working folder + +# End of https://www.toptal.com/developers/gitignore/api/rider,linux,macos,backup,windows,visualstudio,visualstudiocode,fsharp \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..8aa2645 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) [year] [fullname] + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..19e767d --- /dev/null +++ b/README.md @@ -0,0 +1,20 @@ +# TS3 Scripting Template + +![.NET](https://github.com/tonytins/ts3scriptingtemplate/workflows/.NET/badge.svg) + +This project is designed as a Visual Studio template for to get you straight into creating scripting mods for The Sims 3. + +## Requirements + +### Prerequisites + +* Visual Studio + * .NET desktop workload + +## License + +This project is licensed under the MIT license - see the [LICENSE](LICENSE) file for details. + +## Disclaimer + +This project is not in any way affiliated with Electronic Arts or The Sims. diff --git a/src/.editorconfig b/src/.editorconfig new file mode 100644 index 0000000..f20d8dc --- /dev/null +++ b/src/.editorconfig @@ -0,0 +1,131 @@ +# Default settings: +# A newline ending every file +# Use 4 spaces as indentation +[*] +charset = utf-8 +end_of_line = crlf +indent_style = space +indent_size = 4 +insert_final_newline = false +trim_trailing_whitespace = true + +# VB and C# files +[*.{vb,cs}] +# avoid this. unless absolutely necessary +dotnet_style_qualification_for_field = false : suggestion +dotnet_style_qualification_for_property = false : suggestion +dotnet_style_qualification_for_method = false : suggestion +dotnet_style_qualification_for_event = false : suggestion + +# use language keywords instead of BCL types +dotnet_style_predefined_type_for_locals_parameters_members = true : suggestion +dotnet_style_predefined_type_for_member_access = true : suggestion + +# Use camel_case for or internal constant fields +dotnet_naming_rule.constant_fields_should_be_pascal_case.severity = suggestion +dotnet_naming_rule.constant_fields_should_be_pascal_case.symbols = constant_fields +dotnet_naming_rule.constant_fields_should_be_pascal_case.style = pascal_case_style + +dotnet_naming_symbols.constant_fields.applicable_kinds = field +dotnet_naming_symbols.constant_fields.required_modifiers = const + +dotnet_naming_style.pascal_case_style.capitalization = pascal_case + +# Comment this group and uncomment out the next group if you don't want _ prefixed fields. + +# internal and fields should be _camelCase +dotnet_naming_rule.camel_case_for_private_internal_fields.severity = suggestion +dotnet_naming_rule.camel_case_for_private_internal_fields.symbols = private_internal_fields +dotnet_naming_rule.camel_case_for_private_internal_fields.style = sims3_style + +dotnet_naming_symbols.private_internal_fields.applicable_kinds = field +dotnet_naming_symbols.private_internal_fields.applicable_accessibilities = private, internal + +# Used for Sims 3 tuning mods +dotnet_naming_style.sims3_style.required_prefix = k +dotnet_naming_style.sims3_style.capitalization = first_word_upper + +# Public members must be capitalized +dotnet_naming_rule.public_members_must_be_capitalized.symbols = public_symbols +dotnet_naming_symbols.public_symbols.applicable_kinds = property,method,field,event,delegate +dotnet_naming_symbols.public_symbols.applicable_accessibilities = public + +dotnet_naming_rule.public_members_must_be_capitalized.style = first_word_upper_case_style +dotnet_naming_style.first_word_upper_case_style.capitalization = first_word_upper + +dotnet_naming_rule.public_members_must_be_capitalized.severity = suggestion + +# Code style defaults +dotnet_sort_system_directives_first = true +csharp_preserve_single_line_blocks = true +csharp_preserve_single_line_statements = false + +# Expression-level preferences +dotnet_style_object_initializer = true : suggestion +dotnet_style_collection_initializer = true : suggestion +dotnet_style_explicit_tuple_names = true : suggestion +dotnet_style_coalesce_expression = true : suggestion +dotnet_style_null_propagation = true : suggestion + +[*.cs] +# New line preferences +csharp_new_line_before_open_brace = all +csharp_new_line_before_else = true +csharp_new_line_before_catch = true +csharp_new_line_before_finally = true +csharp_new_line_before_members_in_object_initializers = true +csharp_new_line_before_members_in_anonymous_types = true +csharp_new_line_between_query_expression_clauses = true + +# Indentation preferences +csharp_indent_block_contents = true +csharp_indent_braces = false +csharp_indent_case_contents = true +csharp_indent_switch_labels = true +csharp_indent_labels = one_less_than_current + +# only use var when it's obvious what the variable type is +csharp_style_var_for_built_in_types = true : none +csharp_style_var_when_type_is_apparent = true : none +csharp_style_var_elsewhere = true : suggestion + +# Code style defaults +dotnet_sort_system_directives_first = true +csharp_preserve_single_line_blocks = true +csharp_preserve_single_line_statements = false + +# Pattern matching +csharp_style_pattern_matching_over_is_with_cast_check = true : suggestion +csharp_style_pattern_matching_over_as_with_null_check = true : suggestion +csharp_style_inlined_variable_declaration = true : suggestion + +# Null checking preferences +csharp_style_throw_expression = true : warning +csharp_style_conditional_delegate_call = true : warning + +# Space preferences +csharp_space_after_cast = false +csharp_space_after_colon_in_inheritance_clause = true +csharp_space_after_comma = true +csharp_space_after_dot = false +csharp_space_after_keywords_in_control_flow_statements = true +csharp_space_after_semicolon_in_for_statement = true +csharp_space_around_binary_operators = before_and_after +csharp_space_around_declaration_statements = do_not_ignore +csharp_space_before_colon_in_inheritance_clause = true +csharp_space_before_comma = false +csharp_space_before_dot = false +csharp_space_before_open_square_brackets = false +csharp_space_before_semicolon_in_for_statement = false +csharp_space_between_empty_square_brackets = false +csharp_space_between_method_call_empty_parameter_list_parentheses = false +csharp_space_between_method_call_name_and_opening_parenthesis = false +csharp_space_between_method_call_parameter_list_parentheses = false +csharp_space_between_method_declaration_empty_parameter_list_parentheses = false +csharp_space_between_method_declaration_name_and_open_parenthesis = false +csharp_space_between_method_declaration_parameter_list_parentheses = false +csharp_space_between_parentheses = false +csharp_space_between_square_brackets = false + +# CA1815: Override equals and operator equals on value types +dotnet_diagnostic.CA1815.severity = silent diff --git a/src/TS3ScriptingMod/Pausinator.cs b/src/TS3ScriptingMod/Pausinator.cs new file mode 100644 index 0000000..fb15e9c --- /dev/null +++ b/src/TS3ScriptingMod/Pausinator.cs @@ -0,0 +1,26 @@ +using System; +using Sims3.SimIFace; +using gplay = Sims3.Gameplay; + +namespace TS3ScriptingMod +{ + // This is based on the pure scripting tutorial from Sims Wiki + // http://simswiki.info/wiki.php?title=Tutorial:Sims_3_Pure_Scripting_Modding + public class Pausinator + { + [Tunable] protected static bool kInstantiator = false; + + static Pausinator() + { + World.OnWorldLoadFinishedEventHandler + += new EventHandler(OnWorldLoadFinished); + } + + private static void OnWorldLoadFinished(object sender, EventArgs e) + { + gplay.Gameflow.SetGameSpeed(Gameflow.GameSpeed.Pause, + gplay.Gameflow.SetGameSpeedContext.GameStates); + + } + } +} diff --git a/src/TS3ScriptingMod/Properties/AssemblyInfo.cs b/src/TS3ScriptingMod/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..dfbeacc --- /dev/null +++ b/src/TS3ScriptingMod/Properties/AssemblyInfo.cs @@ -0,0 +1,39 @@ +using System.Reflection; +using System.Runtime.InteropServices; +using Sims3.SimIFace; + +// Enable tuning for The Sims 3 +[assembly: Tunable] + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Sims3Mod")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Sims3Mod")] +[assembly: AssemblyCopyright("Copyright © 2020")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("3fb422e7-027e-4a66-9eb3-4953ea67431f")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/TS3ScriptingMod/S3_simsmod.xml b/src/TS3ScriptingMod/S3_simsmod.xml new file mode 100644 index 0000000..33cfc80 --- /dev/null +++ b/src/TS3ScriptingMod/S3_simsmod.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/TS3ScriptingMod/TS3Core/ScriptCore.dll b/src/TS3ScriptingMod/TS3Core/ScriptCore.dll new file mode 100644 index 0000000..51a0e9f Binary files /dev/null and b/src/TS3ScriptingMod/TS3Core/ScriptCore.dll differ diff --git a/src/TS3ScriptingMod/TS3Core/SimIFace.dll b/src/TS3ScriptingMod/TS3Core/SimIFace.dll new file mode 100644 index 0000000..03b2819 Binary files /dev/null and b/src/TS3ScriptingMod/TS3Core/SimIFace.dll differ diff --git a/src/TS3ScriptingMod/TS3Core/Sims3GameplayObjects.dll b/src/TS3ScriptingMod/TS3Core/Sims3GameplayObjects.dll new file mode 100644 index 0000000..12db70e Binary files /dev/null and b/src/TS3ScriptingMod/TS3Core/Sims3GameplayObjects.dll differ diff --git a/src/TS3ScriptingMod/TS3Core/Sims3GameplaySystems.dll b/src/TS3ScriptingMod/TS3Core/Sims3GameplaySystems.dll new file mode 100644 index 0000000..db2cd99 Binary files /dev/null and b/src/TS3ScriptingMod/TS3Core/Sims3GameplaySystems.dll differ diff --git a/src/TS3ScriptingMod/TS3Core/Sims3Metadata.dll b/src/TS3ScriptingMod/TS3Core/Sims3Metadata.dll new file mode 100644 index 0000000..723185c Binary files /dev/null and b/src/TS3ScriptingMod/TS3Core/Sims3Metadata.dll differ diff --git a/src/TS3ScriptingMod/TS3Core/Sims3StoreObjects.dll b/src/TS3ScriptingMod/TS3Core/Sims3StoreObjects.dll new file mode 100644 index 0000000..3859ad6 Binary files /dev/null and b/src/TS3ScriptingMod/TS3Core/Sims3StoreObjects.dll differ diff --git a/src/TS3ScriptingMod/TS3Core/System.Xml.dll b/src/TS3ScriptingMod/TS3Core/System.Xml.dll new file mode 100644 index 0000000..2990b54 Binary files /dev/null and b/src/TS3ScriptingMod/TS3Core/System.Xml.dll differ diff --git a/src/TS3ScriptingMod/TS3Core/System.dll b/src/TS3ScriptingMod/TS3Core/System.dll new file mode 100644 index 0000000..f6d4846 Binary files /dev/null and b/src/TS3ScriptingMod/TS3Core/System.dll differ diff --git a/src/TS3ScriptingMod/TS3Core/UI.dll b/src/TS3ScriptingMod/TS3Core/UI.dll new file mode 100644 index 0000000..0b757e6 Binary files /dev/null and b/src/TS3ScriptingMod/TS3Core/UI.dll differ diff --git a/src/TS3ScriptingMod/TS3Core/mscorlib.dll b/src/TS3ScriptingMod/TS3Core/mscorlib.dll new file mode 100644 index 0000000..aebea5b Binary files /dev/null and b/src/TS3ScriptingMod/TS3Core/mscorlib.dll differ diff --git a/src/TS3ScriptingMod/TS3ScriptingMod.csproj b/src/TS3ScriptingMod/TS3ScriptingMod.csproj new file mode 100644 index 0000000..f7e1f17 --- /dev/null +++ b/src/TS3ScriptingMod/TS3ScriptingMod.csproj @@ -0,0 +1,105 @@ + + + + + Debug + AnyCPU + {3FB422E7-027E-4A66-9EB3-4953EA67431F} + Library + Properties + TS3ScriptingMod + TS3ScriptingMod + v2.0 + 512 + true + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + x86 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + x86 + + + + + + + + TS3Core\ScriptCore.dll + + + TS3Core\SimIFace.dll + + + TS3Core\Sims3GameplayObjects.dll + + + TS3Core\Sims3GameplaySystems.dll + + + TS3Core\Sims3Metadata.dll + + + TS3Core\Sims3StoreObjects.dll + + + + + TS3Core\UI.dll + + + TS3Core\mscorlib.dll + False + + + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + PreserveNewest + + + + + \ No newline at end of file diff --git a/src/TS3ScriptingTemplate.sln b/src/TS3ScriptingTemplate.sln new file mode 100644 index 0000000..ac86492 --- /dev/null +++ b/src/TS3ScriptingTemplate.sln @@ -0,0 +1,30 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.30503.244 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TS3ScriptingMod", "TS3ScriptingMod\TS3ScriptingMod.csproj", "{3FB422E7-027E-4A66-9EB3-4953EA67431F}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1EBE1217-8539-4B20-A8A1-B6CD4EB2AAC5}" + ProjectSection(SolutionItems) = preProject + .editorconfig = .editorconfig + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3FB422E7-027E-4A66-9EB3-4953EA67431F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3FB422E7-027E-4A66-9EB3-4953EA67431F}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3FB422E7-027E-4A66-9EB3-4953EA67431F}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3FB422E7-027E-4A66-9EB3-4953EA67431F}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {DB6FB481-9293-42CA-9492-2AD94772D44D} + EndGlobalSection +EndGlobal