diff --git a/Assets/Plugins.meta b/Assets/Plugins.meta new file mode 100644 index 0000000..640641e --- /dev/null +++ b/Assets/Plugins.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2d97025776fc7d5489db23050f83b8e8 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Plugins/AmazingAssets.TerrainToMesh.dll b/Assets/Plugins/AmazingAssets.TerrainToMesh.dll new file mode 100644 index 0000000..300e9c0 Binary files /dev/null and b/Assets/Plugins/AmazingAssets.TerrainToMesh.dll differ diff --git a/Assets/Plugins/AmazingAssets.TerrainToMesh.dll.meta b/Assets/Plugins/AmazingAssets.TerrainToMesh.dll.meta new file mode 100644 index 0000000..1ee96d4 --- /dev/null +++ b/Assets/Plugins/AmazingAssets.TerrainToMesh.dll.meta @@ -0,0 +1,32 @@ +fileFormatVersion: 2 +guid: b9afc06c6654574105c70106c62ebc86 +timeCreated: 1700520296 +licenseType: Free +PluginImporter: + serializedVersion: 2 + externalObjects: {} + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 0 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + - DefaultValueInitialized: true + output: + dllType: 0 + scriptingRuntimeVersion: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Plugins/ClientNetworkTransform.dll b/Assets/Plugins/ClientNetworkTransform.dll new file mode 100644 index 0000000..78f5826 Binary files /dev/null and b/Assets/Plugins/ClientNetworkTransform.dll differ diff --git a/Assets/Plugins/ClientNetworkTransform.dll.meta b/Assets/Plugins/ClientNetworkTransform.dll.meta new file mode 100644 index 0000000..e33b2ec --- /dev/null +++ b/Assets/Plugins/ClientNetworkTransform.dll.meta @@ -0,0 +1,32 @@ +fileFormatVersion: 2 +guid: 3402242cadcf08d6c55ed9277f0db670 +timeCreated: 1700520298 +licenseType: Free +PluginImporter: + serializedVersion: 2 + externalObjects: {} + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 0 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + - DefaultValueInitialized: true + output: + dllType: 0 + scriptingRuntimeVersion: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Plugins/DissonanceVoip.dll b/Assets/Plugins/DissonanceVoip.dll new file mode 100644 index 0000000..00625e3 Binary files /dev/null and b/Assets/Plugins/DissonanceVoip.dll differ diff --git a/Assets/Plugins/DissonanceVoip.dll.meta b/Assets/Plugins/DissonanceVoip.dll.meta new file mode 100644 index 0000000..605d2ab --- /dev/null +++ b/Assets/Plugins/DissonanceVoip.dll.meta @@ -0,0 +1,32 @@ +fileFormatVersion: 2 +guid: 7b75df1a200cd7e244cfd4c68a6a69f5 +timeCreated: 1700520298 +licenseType: Free +PluginImporter: + serializedVersion: 2 + externalObjects: {} + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 0 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + - DefaultValueInitialized: true + output: + dllType: 0 + scriptingRuntimeVersion: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Plugins/Facepunch Transport for Netcode for GameObjects.dll b/Assets/Plugins/Facepunch Transport for Netcode for GameObjects.dll new file mode 100644 index 0000000..7e0fa04 Binary files /dev/null and b/Assets/Plugins/Facepunch Transport for Netcode for GameObjects.dll differ diff --git a/Assets/Plugins/Facepunch Transport for Netcode for GameObjects.dll.meta b/Assets/Plugins/Facepunch Transport for Netcode for GameObjects.dll.meta new file mode 100644 index 0000000..bd72f76 --- /dev/null +++ b/Assets/Plugins/Facepunch Transport for Netcode for GameObjects.dll.meta @@ -0,0 +1,32 @@ +fileFormatVersion: 2 +guid: 38569d6b40f4f8a57adbc98b42a8104f +timeCreated: 1700520298 +licenseType: Free +PluginImporter: + serializedVersion: 2 + externalObjects: {} + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 0 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + - DefaultValueInitialized: true + output: + dllType: 0 + scriptingRuntimeVersion: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Plugins/Facepunch.Steamworks.Win64.dll b/Assets/Plugins/Facepunch.Steamworks.Win64.dll new file mode 100644 index 0000000..4a1b88c Binary files /dev/null and b/Assets/Plugins/Facepunch.Steamworks.Win64.dll differ diff --git a/Assets/Plugins/Facepunch.Steamworks.Win64.dll.meta b/Assets/Plugins/Facepunch.Steamworks.Win64.dll.meta new file mode 100644 index 0000000..006cb62 --- /dev/null +++ b/Assets/Plugins/Facepunch.Steamworks.Win64.dll.meta @@ -0,0 +1,32 @@ +fileFormatVersion: 2 +guid: d66f5ad83a13a8e4e6f7a4574a75b832 +timeCreated: 1700520298 +licenseType: Free +PluginImporter: + serializedVersion: 2 + externalObjects: {} + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 0 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + - DefaultValueInitialized: true + output: + dllType: 0 + scriptingRuntimeVersion: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Plugins/Newtonsoft.Json.dll b/Assets/Plugins/Newtonsoft.Json.dll new file mode 100644 index 0000000..a6c1276 Binary files /dev/null and b/Assets/Plugins/Newtonsoft.Json.dll differ diff --git a/Assets/Plugins/Newtonsoft.Json.dll.meta b/Assets/Plugins/Newtonsoft.Json.dll.meta new file mode 100644 index 0000000..e406a8a --- /dev/null +++ b/Assets/Plugins/Newtonsoft.Json.dll.meta @@ -0,0 +1,32 @@ +fileFormatVersion: 2 +guid: e63744a55a356f07c2753641296e1f92 +timeCreated: 1700520298 +licenseType: Free +PluginImporter: + serializedVersion: 2 + externalObjects: {} + iconMap: {} + executionOrder: {} + defineConstraints: [] + isPreloaded: 0 + isOverridable: 0 + isExplicitlyReferenced: 0 + validateReferences: 0 + platformData: + - first: + Any: + second: + enabled: 1 + settings: {} + - first: + Editor: Editor + second: + enabled: 0 + settings: + - DefaultValueInitialized: true + output: + dllType: 0 + scriptingRuntimeVersion: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts.meta b/Assets/Scripts.meta new file mode 100644 index 0000000..a5e7e3d --- /dev/null +++ b/Assets/Scripts.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 2296e4330c6e2db4cb68d762d7916fe5 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp-stubs.zip b/Assets/Scripts/Assembly-CSharp-stubs.zip new file mode 100644 index 0000000..1095973 Binary files /dev/null and b/Assets/Scripts/Assembly-CSharp-stubs.zip differ diff --git a/Assets/Scripts/Assembly-CSharp.meta b/Assets/Scripts/Assembly-CSharp.meta new file mode 100644 index 0000000..b3896f0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b8b407955a14b57448a30185f8cdddd1 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/AISearchRoutine.cs b/Assets/Scripts/Assembly-CSharp/AISearchRoutine.cs new file mode 100644 index 0000000..cbe43b7 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AISearchRoutine.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using UnityEngine; + +[Serializable] +public class AISearchRoutine +{ + public List unsearchedNodes; + + public GameObject currentTargetNode; + + public GameObject nextTargetNode; + + public bool waitingForTargetNode; + + public bool choseTargetNode; + + public Vector3 currentSearchStartPosition; + + public bool loopSearch; + + public int timesFinishingSearch; + + public int nodesEliminatedInCurrentSearch; + + public bool inProgress; + + public bool calculatingNodeInSearch; + + [Space(5f)] + public float searchWidth; + + public float searchPrecision; + + public bool randomized; + + public float GetCurrentDistanceOfSearch() + { + return 0f; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/AISearchRoutine.cs.meta b/Assets/Scripts/Assembly-CSharp/AISearchRoutine.cs.meta new file mode 100644 index 0000000..fffb168 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AISearchRoutine.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3c8f8ed469c3e7f4581cdff15f74bf5d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/AlarmButton.cs b/Assets/Scripts/Assembly-CSharp/AlarmButton.cs new file mode 100644 index 0000000..788988b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AlarmButton.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +public class AlarmButton : MonoBehaviour +{ + private Animator buttonAnimator; + + public float timeSincePushing; + + public void PushAlarmButton() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/AlarmButton.cs.meta b/Assets/Scripts/Assembly-CSharp/AlarmButton.cs.meta new file mode 100644 index 0000000..278f82f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AlarmButton.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: c2718d75520ba2aaf719d73b9596a56b +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/AllItemsList.cs b/Assets/Scripts/Assembly-CSharp/AllItemsList.cs new file mode 100644 index 0000000..77724f5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AllItemsList.cs @@ -0,0 +1,8 @@ +using System.Collections.Generic; +using UnityEngine; + +[CreateAssetMenu(menuName = "ScriptableObjects/ItemsList", order = 2)] +public class AllItemsList : ScriptableObject +{ + public List itemsList; +} diff --git a/Assets/Scripts/Assembly-CSharp/AllItemsList.cs.meta b/Assets/Scripts/Assembly-CSharp/AllItemsList.cs.meta new file mode 100644 index 0000000..03f5329 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AllItemsList.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: ac761dd3dbe5a4880072170caeb8e06d +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/AnimatedItem.cs b/Assets/Scripts/Assembly-CSharp/AnimatedItem.cs new file mode 100644 index 0000000..d0bac7c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AnimatedItem.cs @@ -0,0 +1,68 @@ +using System; +using UnityEngine; + +public class AnimatedItem : GrabbableObject +{ + public string grabItemBoolString; + + public string dropItemTriggerString; + + public bool makeAnimationWhenDropping; + + public Animator itemAnimator; + + public AudioSource itemAudio; + + public AudioClip grabAudio; + + public AudioClip dropAudio; + + public bool loopGrabAudio; + + public bool loopDropAudio; + + [Range(0f, 100f)] + public int chanceToTriggerAnimation; + + public int chanceToTriggerAlternateMesh; + + public Mesh alternateMesh; + + private Mesh normalMesh; + + private System.Random itemRandomChance; + + public float noiseRange; + + public float noiseLoudness; + + private int timesPlayedInOneSpot; + + private float makeNoiseInterval; + + private Vector3 lastPosition; + + public AudioLowPassFilter itemAudioLowPassFilter; + + private bool wasInPocket; + + public override void Start() + { + } + + public override void EquipItem() + { + } + + public override void DiscardItem() + { + } + + public override void PocketItem() + { + } + + public override void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/AnimatedItem.cs.meta b/Assets/Scripts/Assembly-CSharp/AnimatedItem.cs.meta new file mode 100644 index 0000000..5101190 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AnimatedItem.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: c036e7754dd14e0ad4f62f3f282d21c3 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/AnimatedObjectTrigger.cs b/Assets/Scripts/Assembly-CSharp/AnimatedObjectTrigger.cs new file mode 100644 index 0000000..ff9466c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AnimatedObjectTrigger.cs @@ -0,0 +1,116 @@ +using System; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class AnimatedObjectTrigger : NetworkBehaviour +{ + public Animator triggerAnimator; + + public Animator triggerAnimatorB; + + public bool isBool; + + public string animationString; + + public bool boolValue; + + public bool setInitialState; + + public bool initialBoolState; + + [Space(5f)] + public AudioSource thisAudioSource; + + public AudioClip[] boolFalseAudios; + + public AudioClip[] boolTrueAudios; + + public AudioClip[] secondaryAudios; + + [Space(4f)] + public AudioClip playWhileTrue; + + public bool resetAudioWhenFalse; + + public bool makeAudibleNoise; + + public float noiseLoudness; + + [Space(3f)] + public ParticleSystem playParticle; + + [Space(4f)] + private StartOfRound playersManager; + + private bool localPlayerTriggered; + + public BooleanEvent onTriggerBool; + + [Space(5f)] + public bool playAudiosInSequence; + + private int timesTriggered; + + public bool triggerByChance; + + public float chancePercent; + + private bool hasInitializedRandomSeed; + + public System.Random triggerRandom; + + private float audioTime; + + public void Start() + { + } + + public void TriggerAnimation(PlayerControllerB playerWhoTriggered) + { + } + + public void TriggerAnimationNonPlayer(bool playSecondaryAudios = false, bool overrideBool = false, bool setBoolFalse = false) + { + } + + public void InitializeRandomSeed() + { + } + + [ServerRpc(RequireOwnership = false)] + private void UpdateAnimServerRpc(bool setBool, bool playSecondaryAudios = false, int playerWhoTriggered = -1) + { + } + + [ClientRpc] + private void UpdateAnimClientRpc(bool setBool, bool playSecondaryAudios = false, int playerWhoTriggered = -1) + { + } + + public void SetBoolOnClientOnly(bool setTo) + { + } + + public void SetBoolOnClientOnlyInverted(bool setTo) + { + } + + private void SetParticleBasedOnBoolean() + { + } + + [ServerRpc(RequireOwnership = false)] + private void UpdateAnimTriggerServerRpc() + { + } + + [ClientRpc] + private void UpdateAnimTriggerClientRpc() + { + } + + private void PlayAudio(bool boolVal, bool playSecondaryAudios = false) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/AnimatedObjectTrigger.cs.meta b/Assets/Scripts/Assembly-CSharp/AnimatedObjectTrigger.cs.meta new file mode 100644 index 0000000..0b7b555 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AnimatedObjectTrigger.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: d5506d85c0f9415f35854e714dadb5c2 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/AnimatedTextureUV.cs b/Assets/Scripts/Assembly-CSharp/AnimatedTextureUV.cs new file mode 100644 index 0000000..9fd2d2b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AnimatedTextureUV.cs @@ -0,0 +1,103 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +public class AnimatedTextureUV : MonoBehaviour +{ + [CompilerGenerated] + private sealed class _003CAnimateUV_003Ed__13 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public AnimatedTextureUV _003C_003E4__this; + + private float _003CmaxVertical_003E5__2; + + private float _003CmaxHorizontal_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CAnimateUV_003Ed__13(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + private Material[] setMaterials; + + public MeshRenderer meshRenderer; + + public SkinnedMeshRenderer skinnedMeshRenderer; + + public int materialIndex; + + public int columns; + + public int rows; + + public float waitFrameTime; + + private float horizontalOffset; + + private float verticalOffset; + + private Coroutine animateMaterial; + + private bool skinnedMesh; + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + [IteratorStateMachine(typeof(_003CAnimateUV_003Ed__13))] + private IEnumerator AnimateUV() + { + return null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/AnimatedTextureUV.cs.meta b/Assets/Scripts/Assembly-CSharp/AnimatedTextureUV.cs.meta new file mode 100644 index 0000000..ac211c0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AnimatedTextureUV.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 0024d1e06d9a5660daf82b6ac615f066 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/AnimationStopPoints.cs b/Assets/Scripts/Assembly-CSharp/AnimationStopPoints.cs new file mode 100644 index 0000000..e0cc1fd --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AnimationStopPoints.cs @@ -0,0 +1,20 @@ +using UnityEngine; + +public class AnimationStopPoints : MonoBehaviour +{ + public bool canAnimationStop; + + public int animationPosition; + + public void SetAnimationStopPosition1() + { + } + + public void SetAnimationGo() + { + } + + public void SetAnimationStopPosition2() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/AnimationStopPoints.cs.meta b/Assets/Scripts/Assembly-CSharp/AnimationStopPoints.cs.meta new file mode 100644 index 0000000..d797142 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AnimationStopPoints.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: bd5a1c374809544ff21c72022b80b799 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Anomaly.cs b/Assets/Scripts/Assembly-CSharp/Anomaly.cs new file mode 100644 index 0000000..efbde94 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Anomaly.cs @@ -0,0 +1,50 @@ +using Unity.Netcode; +using UnityEngine; + +public abstract class Anomaly : NetworkBehaviour +{ + public AnomalyType anomalyType; + + public float initialInstability; + + public float difficultyMultiplier; + + public float normalizedHealth; + + public NetworkObject thisNetworkObject; + + public float maxHealth; + + [HideInInspector] + public float health; + + [HideInInspector] + public float removingHealth; + + [HideInInspector] + public float usedInstability; + + public RoundManager roundManager; + + [Header("Misc properties")] + public bool raycastToSurface; + + private bool addingInstability; + + public virtual void Start() + { + } + + public virtual void AnomalyDespawn(bool removedByPatcher = false) + { + } + + [ServerRpc(RequireOwnership = false)] + public void DespawnAnomalyServerRpc() + { + } + + public virtual void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/Anomaly.cs.meta b/Assets/Scripts/Assembly-CSharp/Anomaly.cs.meta new file mode 100644 index 0000000..462ff5b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Anomaly.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: f0087c4b74fa3636855e48f52851f782 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/AnomalyType.cs b/Assets/Scripts/Assembly-CSharp/AnomalyType.cs new file mode 100644 index 0000000..b1d96c6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AnomalyType.cs @@ -0,0 +1,23 @@ +using UnityEngine; + +[CreateAssetMenu(menuName = "ScriptableObjects/AnomalyType", order = 1)] +public class AnomalyType : ScriptableObject +{ + public string anomalyName; + + [Space(10f)] + [Header("Capturing")] + public float anomalyMaxHealth; + + [Range(0f, 1f)] + public float captureDifficulty; + + public AnimationCurve difficultyVariance; + + [Header("Spawning")] + public AnimationCurve probabilityCurve; + + public int[] spawnableEnemies; + + public GameObject anomalyPrefab; +} diff --git a/Assets/Scripts/Assembly-CSharp/AnomalyType.cs.meta b/Assets/Scripts/Assembly-CSharp/AnomalyType.cs.meta new file mode 100644 index 0000000..8fa5305 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AnomalyType.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 7711ff14ea4c453ed631fa989a6d9545 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/AudioReverbPresets.cs b/Assets/Scripts/Assembly-CSharp/AudioReverbPresets.cs new file mode 100644 index 0000000..831a054 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AudioReverbPresets.cs @@ -0,0 +1,6 @@ +using UnityEngine; + +public class AudioReverbPresets : MonoBehaviour +{ + public AudioReverbTrigger[] audioPresets; +} diff --git a/Assets/Scripts/Assembly-CSharp/AudioReverbPresets.cs.meta b/Assets/Scripts/Assembly-CSharp/AudioReverbPresets.cs.meta new file mode 100644 index 0000000..e1fc1e2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AudioReverbPresets.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 5b2b2e9b427282dee190cd31783992a6 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/AudioReverbTrigger.cs b/Assets/Scripts/Assembly-CSharp/AudioReverbTrigger.cs new file mode 100644 index 0000000..15ad55a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AudioReverbTrigger.cs @@ -0,0 +1,133 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.Rendering.HighDefinition; + +public class AudioReverbTrigger : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003CchangeVolume_003Ed__19 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public AudioReverbTrigger _003C_003E4__this; + + public AudioSource aud; + + public float changeVolumeTo; + + private float _003CfogTarget_003E5__2; + + private int _003Ci_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CchangeVolume_003Ed__19(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public PlayerControllerB playerScript; + + public ReverbPreset reverbPreset; + + public int usePreset; + + [Header("CHANGE AUDIO AMBIANCE")] + public switchToAudio[] audioChanges; + + private bool changingVolumes; + + [Header("MISC")] + public bool elevatorTriggerForProps; + + public bool setInElevatorTrigger; + + public bool isShipRoom; + + public bool toggleLocalFog; + + public float fogEnabledAmount; + + public LocalVolumetricFog localFog; + + public Terrain terrainObj; + + [Header("Weather and effects")] + public bool setInsideAtmosphere; + + public bool insideLighting; + + public int weatherEffect; + + public bool effectEnabled; + + public bool disableAllWeather; + + public bool enableCurrentLevelWeather; + + private bool spectatedClientTriggered; + + [IteratorStateMachine(typeof(_003CchangeVolume_003Ed__19))] + private IEnumerator changeVolume(AudioSource aud, float changeVolumeTo) + { + return null; + } + + public void ChangeAudioReverbForPlayer(PlayerControllerB pScript) + { + } + + private void OnTriggerStay(Collider other) + { + } + + public void StopAudioCoroutine(AudioSource audioKey) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/AudioReverbTrigger.cs.meta b/Assets/Scripts/Assembly-CSharp/AudioReverbTrigger.cs.meta new file mode 100644 index 0000000..a90d0ea --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AudioReverbTrigger.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 3c348aa78a2dd17054e936e85866d996 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/AudioSourceComparer.cs b/Assets/Scripts/Assembly-CSharp/AudioSourceComparer.cs new file mode 100644 index 0000000..1dfda8e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AudioSourceComparer.cs @@ -0,0 +1,15 @@ +using System.Collections.Generic; +using UnityEngine; + +internal class AudioSourceComparer : IEqualityComparer +{ + public bool Equals(AudioSource x, AudioSource y) + { + return false; + } + + public int GetHashCode(AudioSource obj) + { + return 0; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/AudioSourceComparer.cs.meta b/Assets/Scripts/Assembly-CSharp/AudioSourceComparer.cs.meta new file mode 100644 index 0000000..b1a6ff2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AudioSourceComparer.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7c211678de0e59b44a0df4b533687594 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/AutoParentToShip.cs b/Assets/Scripts/Assembly-CSharp/AutoParentToShip.cs new file mode 100644 index 0000000..d581e4c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AutoParentToShip.cs @@ -0,0 +1,104 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using Unity.Netcode; +using UnityEngine; + +public class AutoParentToShip : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003CSuckObjectOutOfShip_003Ed__9 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public AutoParentToShip _003C_003E4__this; + + private Vector3 _003Cdir_003E5__2; + + private Quaternion _003CrandomRotation_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CSuckObjectOutOfShip_003Ed__9(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public bool disableObject; + + public Vector3 positionOffset; + + public Vector3 rotationOffset; + + [HideInInspector] + public Vector3 startingPosition; + + [HideInInspector] + public Vector3 startingRotation; + + public bool overrideOffset; + + private void Awake() + { + } + + private void LateUpdate() + { + } + + public void StartSuckingOutOfShip() + { + } + + [IteratorStateMachine(typeof(_003CSuckObjectOutOfShip_003Ed__9))] + private IEnumerator SuckObjectOutOfShip() + { + return null; + } + + public void MoveToOffset() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/AutoParentToShip.cs.meta b/Assets/Scripts/Assembly-CSharp/AutoParentToShip.cs.meta new file mode 100644 index 0000000..6d6ed82 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/AutoParentToShip.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b2f79a42f90ce4aa636bf27289ebbb62 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 100 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/BaboonBirdAI.cs b/Assets/Scripts/Assembly-CSharp/BaboonBirdAI.cs new file mode 100644 index 0000000..9a1f2fc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BaboonBirdAI.cs @@ -0,0 +1,510 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.Animations.Rigging; + +public class BaboonBirdAI : EnemyAI +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass79_0 + { + public float startTime; + + public PlayerControllerB killedPlayer; + + internal bool _003CkillPlayerAnimation_003Eb__0() + { + return false; + } + } + + [CompilerGenerated] + private sealed class _003CkillPlayerAnimation_003Ed__79 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public int playerObject; + + public BaboonBirdAI _003C_003E4__this; + + private _003C_003Ec__DisplayClass79_0 _003C_003E8__1; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CkillPlayerAnimation_003Ed__79(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public Dictionary threats; + + public Transform focusedThreatTransform; + + public Threat focusedThreat; + + public bool focusingOnThreat; + + public bool focusedThreatIsInView; + + private int focusLevel; + + private float fearLevel; + + private float fearLevelNoDistComparison; + + private Vector3 agentLocalVelocity; + + private float velX; + + private float velZ; + + private Vector3 previousPosition; + + public Transform animationContainer; + + public MultiAimConstraint headLookRig; + + public Transform headLookTarget; + + private Ray lookRay; + + public float fov; + + public float visionDistance; + + private int visibleThreatsMask; + + private int scrapMask; + + private int leadershipLevel; + + private int previousBehaviourState; + + public BaboonHawkGroup scoutingGroup; + + private float miscAnimationTimer; + + private int currentMiscAnimation; + + private Vector3 lookTarget; + + private Vector3 peekTarget; + + private float peekTimer; + + public AISearchRoutine scoutingSearchRoutine; + + public static Vector3 baboonCampPosition; + + public float scoutTimer; + + public float timeToScout; + + private float timeSinceRestWhileScouting; + + private float restingDuringScouting; + + private bool eyesClosed; + + private bool restingAtCamp; + + private float restAtCampTimer; + + private float chosenDistanceToCamp; + + private float timeSincePingingBirdInterest; + + private float timeSinceLastMiscAnimation; + + private int aggressiveMode; + + private int previousAggressiveMode; + + private float fightTimer; + + public AudioSource aggressionAudio; + + private Vector3 debugSphere; + + public Collider ownCollider; + + private float timeSinceAggressiveDisplay; + + private float timeSpentFocusingOnThreat; + + private float timeSinceFighting; + + private bool doingKillAnimation; + + private Coroutine killAnimCoroutine; + + private float timeSinceHitting; + + public Transform deadBodyPoint; + + public AudioClip[] cawScreamSFX; + + public AudioClip[] cawLaughSFX; + + private float noiseTimer; + + private float noiseInterval; + + public GrabbableObject focusedScrap; + + public GrabbableObject heldScrap; + + public bool movingToScrap; + + public Transform grabTarget; + + public TwoBoneIKConstraint leftArmRig; + + public TwoBoneIKConstraint rightArmRig; + + private bool oddAIInterval; + + private DeadBodyInfo killAnimationBody; + + private float timeSinceBeingAttackedByPlayer; + + private float timeSinceJoiningOrLeavingScoutingGroup; + + private BaboonBirdAI biggestBaboon; + + public override void Start() + { + } + + [ServerRpc] + public void SyncInitialValuesServerRpc(int syncLeadershipLevel, Vector3 campPosition) + { + } + + [ClientRpc] + public void SyncInitialValuesClientRpc(int syncLeadershipLevel, Vector3 campPosition) + { + } + + public void LateUpdate() + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + public override void OnCollideWithEnemy(Collider other, EnemyAI enemyScript = null) + { + } + + public override void HitEnemy(int force = 1, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } + + public override void KillEnemy(bool destroy = false) + { + } + + public void StopKillAnimation() + { + } + + [ServerRpc(RequireOwnership = false)] + public void StabPlayerDeathAnimServerRpc(int playerObject) + { + } + + [ClientRpc] + public void StabPlayerDeathAnimClientRpc(int playerObject) + { + } + + [IteratorStateMachine(typeof(_003CkillPlayerAnimation_003Ed__79))] + private IEnumerator killPlayerAnimation(int playerObject) + { + return null; + } + + private void InteractWithScrap() + { + } + + private bool CanGrabScrap(GrabbableObject scrap) + { + return false; + } + + private void DropHeldItemAndSync() + { + } + + [ServerRpc] + public void DropScrapServerRpc(NetworkObjectReference item, Vector3 targetFloorPosition, int clientWhoSentRPC) + { + } + + [ClientRpc] + public void DropScrapClientRpc(NetworkObjectReference item, Vector3 targetFloorPosition, int clientWhoSentRPC) + { + } + + private void DropScrap(NetworkObject item, Vector3 targetFloorPosition) + { + } + + private void GrabItemAndSync(NetworkObject item) + { + } + + [ServerRpc] + public void GrabScrapServerRpc(NetworkObjectReference item, int clientWhoSentRPC) + { + } + + [ClientRpc] + public void GrabScrapClientRpc(NetworkObjectReference item, int clientWhoSentRPC) + { + } + + private void GrabScrap(NetworkObject item) + { + } + + public override void ReachedNodeInSearch() + { + } + + public override void DoAIInterval() + { + } + + private void StopFocusingThreat() + { + } + + [ServerRpc] + public void StopFocusingThreatServerRpc(bool enterScoutingMode) + { + } + + [ClientRpc] + public void StopFocusingThreatClientRpc(bool enterScoutingMode) + { + } + + private void SetAggressiveMode(int mode) + { + } + + [ServerRpc] + public void SetAggressiveModeServerRpc(int mode) + { + } + + [ClientRpc] + public void SetAggressiveModeClientRpc(int mode) + { + } + + private void SetThreatInView(bool inView) + { + } + + [ServerRpc] + public void SetThreatInViewServerRpc(bool inView) + { + } + + [ClientRpc] + public void SetThreatInViewClientRpc(bool inView) + { + } + + [ServerRpc] + public void EnemyEnterRestModeServerRpc(bool sleep, bool atCamp) + { + } + + [ClientRpc] + public void EnemyEnterRestModeClientRpc(bool sleep, bool atCamp) + { + } + + [ServerRpc] + public void EnemyGetUpServerRpc() + { + } + + [ClientRpc] + public void EnemyGetUpClientRpc() + { + } + + public override void OnDrawGizmos() + { + } + + public override void DetectNoise(Vector3 noisePosition, float noiseLoudness, int timesPlayedInOneSpot = 0, int noiseID = 0) + { + } + + private void AnimateLooking(Vector3 lookAtPosition) + { + } + + public override void Update() + { + } + + private float GetComfortableDistanceToThreat(Threat focusedThreat) + { + return 0f; + } + + private void ReactToThreat(Threat closestThreat) + { + } + + [ServerRpc] + public void StartFocusOnThreatServerRpc(NetworkObjectReference netObject) + { + } + + [ClientRpc] + public void StartFocusOnThreatClientRpc(NetworkObjectReference netObject) + { + } + + private float ReactToOtherBaboonSighted(BaboonBirdAI otherBaboon) + { + return 0f; + } + + private void DoLOSCheck() + { + } + + public void PingBaboonInterest(Vector3 interestPosition, int pingImportance) + { + } + + [ServerRpc] + public void PingBirdInterestServerRpc(Vector3 lookPosition, float timeToPeek) + { + } + + [ClientRpc] + public void PingBirdInterestClientRpc(Vector3 lookPosition, float timeToPeek) + { + } + + private void JoinScoutingGroup(BaboonBirdAI otherBaboon) + { + } + + public void StartScoutingGroup(BaboonBirdAI firstMember, bool syncWithClients) + { + } + + private void LeaveCurrentScoutingGroup(bool sync) + { + } + + [ServerRpc] + public void LeaveScoutingGroupServerRpc() + { + } + + [ClientRpc] + public void LeaveScoutingGroupClientRpc() + { + } + + [ServerRpc] + public void StartScoutingGroupServerRpc(NetworkObjectReference leaderNetworkObject) + { + } + + [ClientRpc] + public void StartScoutingGroupClientRpc(NetworkObjectReference leaderNetworkObject) + { + } + + [ServerRpc] + public void JoinScoutingGroupServerRpc(NetworkObjectReference otherBaboonNetworkObject) + { + } + + [ClientRpc] + public void JoinScoutingGroupClientRpc(NetworkObjectReference otherBaboonNetworkObject) + { + } + + public void CallToOtherBaboon(BaboonBirdAI otherBaboon) + { + } + + private void StartMiscAnimation(int anim) + { + } + + [ServerRpc] + public void StartMiscAnimationServerRpc(int miscAnimationId) + { + } + + [ClientRpc] + public void StartMiscAnimationClientRpc(int miscAnimationId) + { + } + + private void CalculateAnimationDirection(float maxSpeed = 1f) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/BaboonBirdAI.cs.meta b/Assets/Scripts/Assembly-CSharp/BaboonBirdAI.cs.meta new file mode 100644 index 0000000..79693b8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BaboonBirdAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 12bcec7803215d6e5bb9b159c2527846 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/BaboonHawkAudioEvents.cs b/Assets/Scripts/Assembly-CSharp/BaboonHawkAudioEvents.cs new file mode 100644 index 0000000..58e7022 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BaboonHawkAudioEvents.cs @@ -0,0 +1,22 @@ +using UnityEngine; + +public class BaboonHawkAudioEvents : MonoBehaviour +{ + public AudioSource audioToPlay; + + public AudioClip[] randomClips; + + public Animator thisAnimator; + + private float timeLastAudioPlayed; + + public ParticleSystem particle; + + public void PlayParticleWithChildren() + { + } + + public void PlayAudio1RandomClipWithMinSpeedCondition() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/BaboonHawkAudioEvents.cs.meta b/Assets/Scripts/Assembly-CSharp/BaboonHawkAudioEvents.cs.meta new file mode 100644 index 0000000..c0a5e65 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BaboonHawkAudioEvents.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: bc1cc1e60787ab956170da3c6f7c0413 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/BaboonHawkGroup.cs b/Assets/Scripts/Assembly-CSharp/BaboonHawkGroup.cs new file mode 100644 index 0000000..be7dfa4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BaboonHawkGroup.cs @@ -0,0 +1,12 @@ +using System.Collections.Generic; + +public class BaboonHawkGroup +{ + public bool isEmpty; + + public BaboonBirdAI leader; + + public List members; + + public float timeAtLastCallToGroup; +} diff --git a/Assets/Scripts/Assembly-CSharp/BaboonHawkGroup.cs.meta b/Assets/Scripts/Assembly-CSharp/BaboonHawkGroup.cs.meta new file mode 100644 index 0000000..c13f4b1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BaboonHawkGroup.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 326cf3977db33db43911f0a6077e909a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Battery.cs b/Assets/Scripts/Assembly-CSharp/Battery.cs new file mode 100644 index 0000000..8f007d6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Battery.cs @@ -0,0 +1,13 @@ +using System; + +[Serializable] +public class Battery +{ + public bool empty; + + public float charge; + + public Battery(bool isEmpty, float chargeNumber) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/Battery.cs.meta b/Assets/Scripts/Assembly-CSharp/Battery.cs.meta new file mode 100644 index 0000000..c209dce --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Battery.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7ff6ed92fba596a4a8d0044de9375a35 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/BinocularsItem.cs b/Assets/Scripts/Assembly-CSharp/BinocularsItem.cs new file mode 100644 index 0000000..4f34e93 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BinocularsItem.cs @@ -0,0 +1,3 @@ +public class BinocularsItem : GrabbableObject +{ +} diff --git a/Assets/Scripts/Assembly-CSharp/BinocularsItem.cs.meta b/Assets/Scripts/Assembly-CSharp/BinocularsItem.cs.meta new file mode 100644 index 0000000..8362b95 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BinocularsItem.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 78ffbdeb9d86a224423e688364bba719 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/BlobAI.cs b/Assets/Scripts/Assembly-CSharp/BlobAI.cs new file mode 100644 index 0000000..fff2f9f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BlobAI.cs @@ -0,0 +1,201 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class BlobAI : EnemyAI +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass40_0 + { + public PlayerControllerB playerScript; + + public float startTime; + + internal bool _003CeatPlayerBody_003Eb__0() + { + return false; + } + } + + [CompilerGenerated] + private sealed class _003CeatPlayerBody_003Ed__40 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + private _003C_003Ec__DisplayClass40_0 _003C_003E8__1; + + public int playerKilled; + + public BlobAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CeatPlayerBody_003Ed__40(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [Header("Fluid simulation")] + public Transform centerPoint; + + public Transform[] SlimeRaycastTargets; + + public Rigidbody[] SlimeBones; + + private Vector3[] SlimeBonePositions; + + public float slimeRange; + + public float currentSlimeRange; + + private float[] maxDistanceForSlimeRays; + + private float[] distanceOfRaysLastFrame; + + private int partsMovingUpSlope; + + private Ray slimeRay; + + private RaycastHit slimeRayHit; + + private RaycastHit slimePlayerRayHit; + + private float timeSinceHittingLocalPlayer; + + [Header("Behaviors")] + public AISearchRoutine searchForPlayers; + + private float tamedTimer; + + private float angeredTimer; + + private Material thisSlimeMaterial; + + private float slimeJiggleAmplitude; + + private float slimeJiggleDensity; + + [Header("SFX")] + public AudioSource movableAudioSource; + + public AudioClip agitatedSFX; + + public AudioClip jiggleSFX; + + public AudioClip hitSlimeSFX; + + public AudioClip killPlayerSFX; + + public AudioClip idleSFX; + + private Collider[] ragdollColliders; + + private Coroutine eatPlayerBodyCoroutine; + + private DeadBodyInfo bodyBeingCarried; + + private int slimeMask; + + public Mesh emptySuitMesh; + + public override void Start() + { + } + + public override void DoAIInterval() + { + } + + private void SimulateSurfaceTensionInRaycasts(int i) + { + } + + private void FixedUpdate() + { + } + + public override void Update() + { + } + + private void MoveSlimeBoneToRaycastHit(float currentRangeOfRaycast, int i) + { + } + + private void RaycastCollisionWithPlayers(float maxDistance) + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + [ServerRpc(RequireOwnership = false)] + public void SlimeKillPlayerEffectServerRpc(int playerKilled) + { + } + + [ClientRpc] + public void SlimeKillPlayerEffectClientRpc(int playerKilled) + { + } + + [IteratorStateMachine(typeof(_003CeatPlayerBody_003Ed__40))] + private IEnumerator eatPlayerBody(int playerKilled) + { + return null; + } + + public override void HitEnemy(int force = 1, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } + + public override void DetectNoise(Vector3 noisePosition, float noiseLoudness, int timesPlayedInOneSpot = 0, int noiseID = 0) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/BlobAI.cs.meta b/Assets/Scripts/Assembly-CSharp/BlobAI.cs.meta new file mode 100644 index 0000000..1395694 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BlobAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: e14032962b7e284b335d917b6b57fbad +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/BooleanEvent.cs b/Assets/Scripts/Assembly-CSharp/BooleanEvent.cs new file mode 100644 index 0000000..4e29e49 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BooleanEvent.cs @@ -0,0 +1,10 @@ +using System; +using UnityEngine.Events; + +[Serializable] +public class BooleanEvent : UnityEvent +{ + public BooleanEvent() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/BooleanEvent.cs.meta b/Assets/Scripts/Assembly-CSharp/BooleanEvent.cs.meta new file mode 100644 index 0000000..727603f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BooleanEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c4998375d0cc4d34dae790d500a44f84 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/BoomboxItem.cs b/Assets/Scripts/Assembly-CSharp/BoomboxItem.cs new file mode 100644 index 0000000..70a5e25 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BoomboxItem.cs @@ -0,0 +1,113 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +public class BoomboxItem : GrabbableObject +{ + [CompilerGenerated] + private sealed class _003CmusicPitchDown_003Ed__12 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public BoomboxItem _003C_003E4__this; + + private int _003Ci_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CmusicPitchDown_003Ed__12(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public AudioSource boomboxAudio; + + public AudioClip[] musicAudios; + + public AudioClip[] stopAudios; + + public System.Random musicRandomizer; + + private StartOfRound playersManager; + + private RoundManager roundManager; + + public bool isPlayingMusic; + + private float noiseInterval; + + private int timesPlayedWithoutTurningOff; + + public override void Start() + { + } + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } + + private void StartMusic(bool startMusic, bool pitchDown = false) + { + } + + [IteratorStateMachine(typeof(_003CmusicPitchDown_003Ed__12))] + private IEnumerator musicPitchDown() + { + return null; + } + + public override void UseUpBatteries() + { + } + + public override void PocketItem() + { + } + + public override void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/BoomboxItem.cs.meta b/Assets/Scripts/Assembly-CSharp/BoomboxItem.cs.meta new file mode 100644 index 0000000..32c3f25 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BoomboxItem.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2d5facd46ad5424500b215539639a1ea +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/BreakerBox.cs b/Assets/Scripts/Assembly-CSharp/BreakerBox.cs new file mode 100644 index 0000000..bcb8c06 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BreakerBox.cs @@ -0,0 +1,65 @@ +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class BreakerBox : NetworkBehaviour, IShockableWithGun +{ + public int leversSwitchedOff; + + public bool isPowerOn; + + public RoundManager roundManager; + + public Animator[] breakerSwitches; + + public AudioSource thisAudioSource; + + public AudioSource breakerBoxHum; + + public AudioClip switchPowerSFX; + + private void Start() + { + } + + public void SetSwitchesOff() + { + } + + public void SwitchBreaker(bool on) + { + } + + void IShockableWithGun.ShockWithGun(PlayerControllerB shockedByPlayer) + { + } + + void IShockableWithGun.StopShockingWithGun() + { + } + + bool IShockableWithGun.CanBeShocked() + { + return false; + } + + float IShockableWithGun.GetDifficultyMultiplier() + { + return 0f; + } + + Vector3 IShockableWithGun.GetShockablePosition() + { + return default(Vector3); + } + + Transform IShockableWithGun.GetShockableTransform() + { + return null; + } + + NetworkObject IShockableWithGun.GetNetworkObject() + { + return null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/BreakerBox.cs.meta b/Assets/Scripts/Assembly-CSharp/BreakerBox.cs.meta new file mode 100644 index 0000000..e5ee79f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BreakerBox.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: d41a10b88bf0a15dcee8829d75892f03 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/BridgeTrigger.cs b/Assets/Scripts/Assembly-CSharp/BridgeTrigger.cs new file mode 100644 index 0000000..bf41edc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BridgeTrigger.cs @@ -0,0 +1,73 @@ +using System.Collections.Generic; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class BridgeTrigger : NetworkBehaviour +{ + public float bridgeDurability; + + private PlayerControllerB playerOnBridge; + + private List playersOnBridge; + + public AudioSource bridgeAudioSource; + + public AudioClip[] bridgeCreakSFX; + + public AudioClip bridgeFallSFX; + + public Animator bridgeAnimator; + + private bool hasBridgeFallen; + + public Transform bridgePhysicsPartsContainer; + + private bool giantOnBridge; + + private bool giantOnBridgeLastFrame; + + public Collider[] fallenBridgeColliders; + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + private void Update() + { + } + + private void LateUpdate() + { + } + + [ServerRpc] + public void BridgeFallServerRpc() + { + } + + [ClientRpc] + public void BridgeFallClientRpc() + { + } + + private void EnableFallenBridgeColliders() + { + } + + private void OnTriggerStay(Collider other) + { + } + + public void RemovePlayerFromBridge(PlayerControllerB playerOnBridge) + { + } + + private void OnTriggerExit(Collider other) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/BridgeTrigger.cs.meta b/Assets/Scripts/Assembly-CSharp/BridgeTrigger.cs.meta new file mode 100644 index 0000000..95c2ccb --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/BridgeTrigger.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 17b371b1f3fe8b4d18db5c51d5fba373 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/CameraView.cs b/Assets/Scripts/Assembly-CSharp/CameraView.cs new file mode 100644 index 0000000..72a46a3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CameraView.cs @@ -0,0 +1,10 @@ +using System; +using UnityEngine; + +[Serializable] +public class CameraView +{ + public Camera camera; + + public Material cameraMaterial; +} diff --git a/Assets/Scripts/Assembly-CSharp/CameraView.cs.meta b/Assets/Scripts/Assembly-CSharp/CameraView.cs.meta new file mode 100644 index 0000000..774775c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CameraView.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: afd498393da94f8478d5c798255d3520 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/CauseOfDeath.cs b/Assets/Scripts/Assembly-CSharp/CauseOfDeath.cs new file mode 100644 index 0000000..2331b93 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CauseOfDeath.cs @@ -0,0 +1,15 @@ +public enum CauseOfDeath +{ + Unknown = 0, + Bludgeoning = 1, + Gravity = 2, + Blast = 3, + Strangulation = 4, + Suffocation = 5, + Mauling = 6, + Gunshots = 7, + Crushing = 8, + Drowning = 9, + Abandoned = 10, + Electrocution = 11 +} diff --git a/Assets/Scripts/Assembly-CSharp/CauseOfDeath.cs.meta b/Assets/Scripts/Assembly-CSharp/CauseOfDeath.cs.meta new file mode 100644 index 0000000..c742303 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CauseOfDeath.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fb392ee8450f0b14c96e54eb0bc13f43 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/CentipedeAI.cs b/Assets/Scripts/Assembly-CSharp/CentipedeAI.cs new file mode 100644 index 0000000..7774709 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CentipedeAI.cs @@ -0,0 +1,466 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class CentipedeAI : EnemyAI +{ + [CompilerGenerated] + private sealed class _003CUnclingFromPlayer_003Ed__50 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public bool playerDead; + + public CentipedeAI _003C_003E4__this; + + private Vector3 _003CgroundPosition_003E5__2; + + private Vector3 _003CstartPosition_003E5__3; + + private float _003CfallTime_003E5__4; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CUnclingFromPlayer_003Ed__50(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CclingToCeiling_003Ed__58 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public CentipedeAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CclingToCeiling_003Ed__58(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CdelayedShriek_003Ed__68 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public CentipedeAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CdelayedShriek_003Ed__68(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CfallFromCeiling_003Ed__56 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public CentipedeAI _003C_003E4__this; + + private Vector3 _003CstartPosition_003E5__2; + + private Vector3 _003CgroundPosition_003E5__3; + + private float _003CfallTime_003E5__4; + + private float _003CdistToPlayer_003E5__5; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CfallFromCeiling_003Ed__56(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public PlayerControllerB clingingToPlayer; + + public AudioClip fallShriek; + + public AudioClip hitGroundSFX; + + public AudioClip hitCentipede; + + public AudioClip[] shriekClips; + + private int offsetNodeAmount; + + private Vector3 mainEntrancePosition; + + public AnimationCurve fallToGroundCurve; + + public Vector3 ceilingHidingPoint; + + private RaycastHit rayHit; + + public Transform tempTransform; + + private Ray ray; + + private bool clingingToCeiling; + + private Coroutine ceilingAnimationCoroutine; + + private bool startedCeilingAnimationCoroutine; + + private Coroutine killAnimationCoroutine; + + private Vector3 propelVelocity; + + private float damagePlayerInterval; + + private bool clingingToLocalClient; + + private bool clingingToDeadBody; + + private bool inDroppingOffPlayerAnim; + + private Vector3 firstKilledPlayerPosition; + + private bool pathToFirstKilledBodyIsClear; + + private bool syncedPositionInPrepForCeilingAnimation; + + public Transform modelContainer; + + private float updateOffsetPositionInterval; + + private Vector3 offsetTargetPos; + + private bool triggeredFall; + + public AudioSource clingingToPlayer2DAudio; + + public AudioClip clingToPlayer3D; + + private float chaseTimer; + + private float stuckTimer; + + private Coroutine beginClingingToCeilingCoroutine; + + private Coroutine dropFromCeilingCoroutine; + + private bool singlePlayerSecondChanceGiven; + + public override void Start() + { + } + + public override void DoAIInterval() + { + } + + public void ChooseHidingSpotNearPlayer(Vector3 targetPos, bool targetingPositionOfFirstKilledPlayer = false) + { + } + + private void SetDestinationToNode(Transform moveTowardsNode) + { + } + + private void LateUpdate() + { + } + + private void UpdatePositionToClingingPlayerHead() + { + } + + public override void Update() + { + } + + private void DamagePlayerOnIntervals() + { + } + + private void IncreaseSpeedSlowly(float increaseSpeed = 1.5f) + { + } + + [ServerRpc(RequireOwnership = false)] + public void StopClingingServerRpc(bool playerDead) + { + } + + [ClientRpc] + public void StopClingingClientRpc(bool playerDead) + { + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + private void OnPlayerTeleport(PlayerControllerB playerTeleported) + { + } + + private void StopClingingToPlayer(bool playerDead) + { + } + + [IteratorStateMachine(typeof(_003CUnclingFromPlayer_003Ed__50))] + private IEnumerator UnclingFromPlayer(PlayerControllerB playerBeingKilled, bool playerDead = true) + { + return null; + } + + public override void CancelSpecialAnimationWithPlayer() + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + [ServerRpc(RequireOwnership = false)] + public void ClingToPlayerServerRpc(ulong playerObjectId) + { + } + + [ClientRpc] + public void ClingToPlayerClientRpc(ulong playerObjectId) + { + } + + private void ClingToPlayer(PlayerControllerB playerScript) + { + } + + [IteratorStateMachine(typeof(_003CfallFromCeiling_003Ed__56))] + private IEnumerator fallFromCeiling() + { + return null; + } + + [ServerRpc(RequireOwnership = false)] + public void TriggerCentipedeFallServerRpc(ulong clientId) + { + } + + [IteratorStateMachine(typeof(_003CclingToCeiling_003Ed__58))] + private IEnumerator clingToCeiling() + { + return null; + } + + private void RaycastToCeiling() + { + } + + [ServerRpc] + public void SwitchToHidingOnCeilingServerRpc(Vector3 ceilingPoint) + { + } + + [ClientRpc] + public void SwitchToHidingOnCeilingClientRpc(Vector3 ceilingPoint) + { + } + + public override void HitEnemy(int force = 1, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } + + public override void SetEnemyStunned(bool setToStunned, float setToStunTime = 1f, PlayerControllerB setStunnedByPlayer = null) + { + } + + public void ReactBehaviourToBeingHurt() + { + } + + [ServerRpc(RequireOwnership = false)] + public void GetHitAndRunAwayServerRpc() + { + } + + [ClientRpc] + public void GetHitAndRunAwayClientRpc() + { + } + + public override void KillEnemy(bool destroy = false) + { + } + + [IteratorStateMachine(typeof(_003CdelayedShriek_003Ed__68))] + private IEnumerator delayedShriek() + { + return null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/CentipedeAI.cs.meta b/Assets/Scripts/Assembly-CSharp/CentipedeAI.cs.meta new file mode 100644 index 0000000..0fc0949 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CentipedeAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a7b1118daf269f3850d1a4455837e224 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/CleanPlayerBodyTrigger.cs b/Assets/Scripts/Assembly-CSharp/CleanPlayerBodyTrigger.cs new file mode 100644 index 0000000..adf7e11 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CleanPlayerBodyTrigger.cs @@ -0,0 +1,14 @@ +using UnityEngine; + +public class CleanPlayerBodyTrigger : MonoBehaviour +{ + private bool enableCleaning; + + public void EnableCleaningTrigger(bool enable) + { + } + + private void OnTriggerStay(Collider other) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/CleanPlayerBodyTrigger.cs.meta b/Assets/Scripts/Assembly-CSharp/CleanPlayerBodyTrigger.cs.meta new file mode 100644 index 0000000..b54b782 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CleanPlayerBodyTrigger.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: d3c3966bef7788cb66f8ed8701c8998c +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ClipboardItem.cs b/Assets/Scripts/Assembly-CSharp/ClipboardItem.cs new file mode 100644 index 0000000..2207443 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ClipboardItem.cs @@ -0,0 +1,28 @@ +using UnityEngine; + +public class ClipboardItem : GrabbableObject +{ + public int currentPage; + + public Animator clipboardAnimator; + + public AudioClip[] turnPageSFX; + + public AudioSource thisAudio; + + public override void PocketItem() + { + } + + public override void ItemInteractLeftRight(bool right) + { + } + + public override void DiscardItem() + { + } + + public override void EquipItem() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ClipboardItem.cs.meta b/Assets/Scripts/Assembly-CSharp/ClipboardItem.cs.meta new file mode 100644 index 0000000..3d30a95 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ClipboardItem.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a9cf569d2e64fe61c0470c82f4b96853 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/CompanyMonster.cs b/Assets/Scripts/Assembly-CSharp/CompanyMonster.cs new file mode 100644 index 0000000..f8e81f8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CompanyMonster.cs @@ -0,0 +1,6 @@ +public enum CompanyMonster +{ + GiantHand = 0, + Tentacles = 1, + Tongue = 2 +} diff --git a/Assets/Scripts/Assembly-CSharp/CompanyMonster.cs.meta b/Assets/Scripts/Assembly-CSharp/CompanyMonster.cs.meta new file mode 100644 index 0000000..2ae6558 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CompanyMonster.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7e439cd3faf4e7846bdd0ece873d1f02 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/CompanyMonsterCollisionDetect.cs b/Assets/Scripts/Assembly-CSharp/CompanyMonsterCollisionDetect.cs new file mode 100644 index 0000000..6b9c690 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CompanyMonsterCollisionDetect.cs @@ -0,0 +1,10 @@ +using UnityEngine; + +public class CompanyMonsterCollisionDetect : MonoBehaviour +{ + public int monsterAnimationID; + + private void OnTriggerEnter(Collider other) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/CompanyMonsterCollisionDetect.cs.meta b/Assets/Scripts/Assembly-CSharp/CompanyMonsterCollisionDetect.cs.meta new file mode 100644 index 0000000..8239003 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CompanyMonsterCollisionDetect.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 916a48627d1cb0c091de45490d96b75e +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/CompanyMood.cs b/Assets/Scripts/Assembly-CSharp/CompanyMood.cs new file mode 100644 index 0000000..39a06ff --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CompanyMood.cs @@ -0,0 +1,48 @@ +using UnityEngine; + +[CreateAssetMenu(menuName = "ScriptableObjects/CompanyMoodPreset", order = 2)] +public class CompanyMood : ScriptableObject +{ + public float timeToWaitBeforeGrabbingItem; + + public float irritability; + + public float judgementSpeed; + + public float startingPatience; + + public bool desiresSilence; + + public bool mustBeWokenUp; + + public int maximumItemsToAnger; + + public float sensitivity; + + [Space(3f)] + public AudioClip noiseBehindWallSFX; + + [Space(5f)] + public AudioClip[] grabItemsSFX; + + public AudioClip[] angerSFX; + + public AudioClip[] attackSFX; + + public AudioClip wallAttackSFX; + + public AudioClip insideWindowSFX; + + public AudioClip behindWallSFX; + + public bool stopWallSFXWhenOpening; + + [Space(5f)] + public CompanyMonster manifestation; + + public int maxPlayersToKillBeforeSatisfied; + + public int[] enableMonsterAnimationIndex; + + public float grabPlayerAnimationTime; +} diff --git a/Assets/Scripts/Assembly-CSharp/CompanyMood.cs.meta b/Assets/Scripts/Assembly-CSharp/CompanyMood.cs.meta new file mode 100644 index 0000000..05c3214 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CompanyMood.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 3feb48a78b71d86c00b5bb2d4f508469 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/CompatibleNoun.cs b/Assets/Scripts/Assembly-CSharp/CompatibleNoun.cs new file mode 100644 index 0000000..b1ba0a1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CompatibleNoun.cs @@ -0,0 +1,9 @@ +using System; + +[Serializable] +public class CompatibleNoun +{ + public TerminalKeyword noun; + + public TerminalNode result; +} diff --git a/Assets/Scripts/Assembly-CSharp/CompatibleNoun.cs.meta b/Assets/Scripts/Assembly-CSharp/CompatibleNoun.cs.meta new file mode 100644 index 0000000..4143f78 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CompatibleNoun.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6f0ac567ac6ee9b4f8f2babce8ae7e0c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/CozyLights.cs b/Assets/Scripts/Assembly-CSharp/CozyLights.cs new file mode 100644 index 0000000..09be4b0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CozyLights.cs @@ -0,0 +1,12 @@ +using UnityEngine; + +public class CozyLights : MonoBehaviour +{ + private bool cozyLightsOn; + + public Animator cozyLightsAnimator; + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/CozyLights.cs.meta b/Assets/Scripts/Assembly-CSharp/CozyLights.cs.meta new file mode 100644 index 0000000..5b5e15d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CozyLights.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 23f7e08de237ac3997428cfbdcb884ce +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/CrawlerAI.cs b/Assets/Scripts/Assembly-CSharp/CrawlerAI.cs new file mode 100644 index 0000000..3254843 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CrawlerAI.cs @@ -0,0 +1,220 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class CrawlerAI : EnemyAI +{ + [CompilerGenerated] + private sealed class _003CEatPlayerBodyAnimation_003Ed__43 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public int playerId; + + public CrawlerAI _003C_003E4__this; + + private DeadBodyInfo _003CdeadBody_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CEatPlayerBodyAnimation_003Ed__43(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public AISearchRoutine searchForPlayers; + + private float checkLineOfSightInterval; + + public float maxSearchAndRoamRadius; + + [Space(5f)] + public float noticePlayerTimer; + + private bool hasEnteredChaseMode; + + private bool lostPlayerInChase; + + private bool beginningChasingThisClient; + + private Collider[] nearPlayerColliders; + + public AudioClip shortRoar; + + public AudioClip[] hitWallSFX; + + public AudioClip bitePlayerSFX; + + private Vector3 previousPosition; + + private float previousVelocity; + + private float wallCollisionSFXDebounce; + + private float timeSinceHittingPlayer; + + private bool ateTargetPlayerBody; + + private Coroutine eatPlayerBodyCoroutine; + + public Transform mouthTarget; + + public AudioClip eatPlayerSFX; + + public AudioClip[] hitCrawlerSFX; + + public AudioClip[] longRoarSFX; + + public DeadBodyInfo currentlyHeldBody; + + private bool pullingSecondLimb; + + private float agentSpeedWithNegative; + + private Vector3 lastPositionOfSeenPlayer; + + public override void Start() + { + } + + public override void DoAIInterval() + { + } + + public override void FinishedCurrentSearchRoutine() + { + } + + public override void Update() + { + } + + private void CalculateAgentSpeed() + { + } + + [ServerRpc(RequireOwnership = false)] + public void CollideWithWallServerRpc() + { + } + + [ClientRpc] + public void CollideWithWallClientRpc() + { + } + + private void CheckForVeryClosePlayer() + { + } + + [ServerRpc(RequireOwnership = false)] + public void BeginChasingPlayerServerRpc(int playerObjectId) + { + } + + [ClientRpc] + public void BeginChasingPlayerClientRpc(int playerObjectId) + { + } + + [ServerRpc(RequireOwnership = false)] + public void MakeScreechNoiseServerRpc() + { + } + + [ClientRpc] + public void MakeScreechNoiseClientRpc() + { + } + + private void MakeScreech() + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + [ServerRpc(RequireOwnership = false)] + public void HitPlayerServerRpc(int playerId) + { + } + + [ClientRpc] + public void HitPlayerClientRpc(int playerId) + { + } + + [ServerRpc(RequireOwnership = false)] + public void EatPlayerBodyServerRpc(int playerId) + { + } + + [ClientRpc] + public void EatPlayerBodyClientRpc(int playerId) + { + } + + [IteratorStateMachine(typeof(_003CEatPlayerBodyAnimation_003Ed__43))] + private IEnumerator EatPlayerBodyAnimation(int playerId) + { + return null; + } + + private void DropPlayerBody() + { + } + + public override void KillEnemy(bool destroy = false) + { + } + + public override void HitEnemy(int force = 1, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/CrawlerAI.cs.meta b/Assets/Scripts/Assembly-CSharp/CrawlerAI.cs.meta new file mode 100644 index 0000000..43874a0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CrawlerAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b3494afbee55ae5775b5601a34ade4c0 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/CurrentLevelValues.cs b/Assets/Scripts/Assembly-CSharp/CurrentLevelValues.cs new file mode 100644 index 0000000..f86fd11 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CurrentLevelValues.cs @@ -0,0 +1,20 @@ +using System; +using UnityEngine; + +[Serializable] +public class CurrentLevelValues +{ + public int difficultyLevel; + + [Header("Scrap-collecting difficulty")] + public int minScrap; + + public int maxScrap; + + public int minTotalScrapValue; + + public int maxTotalScrapValue; + + [Space(5f)] + public float levelSizeMultiplier; +} diff --git a/Assets/Scripts/Assembly-CSharp/CurrentLevelValues.cs.meta b/Assets/Scripts/Assembly-CSharp/CurrentLevelValues.cs.meta new file mode 100644 index 0000000..a4ddba3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/CurrentLevelValues.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9b2d46b5d8c94ac409e0eb81fe655c46 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DayMode.cs b/Assets/Scripts/Assembly-CSharp/DayMode.cs new file mode 100644 index 0000000..a136002 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DayMode.cs @@ -0,0 +1,8 @@ +public enum DayMode +{ + None = -1, + Dawn = 0, + Noon = 1, + Sundown = 2, + Midnight = 3 +} diff --git a/Assets/Scripts/Assembly-CSharp/DayMode.cs.meta b/Assets/Scripts/Assembly-CSharp/DayMode.cs.meta new file mode 100644 index 0000000..d777524 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DayMode.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0d889795667ce844399684121552926e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DeadBodyInfo.cs b/Assets/Scripts/Assembly-CSharp/DeadBodyInfo.cs new file mode 100644 index 0000000..79a0148 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DeadBodyInfo.cs @@ -0,0 +1,167 @@ +using GameNetcodeStuff; +using UnityEngine; + +public class DeadBodyInfo : MonoBehaviour +{ + public int playerObjectId; + + public PlayerControllerB playerScript; + + public Rigidbody[] bodyParts; + + [Space(3f)] + public Rigidbody attachedLimb; + + public Transform attachedTo; + + [Space(2f)] + public Rigidbody secondaryAttachedLimb; + + public Transform secondaryAttachedTo; + + [Space(5f)] + public int timesOutOfBounds; + + public Vector3 spawnPosition; + + [Space(3f)] + private Vector3 forceDirection; + + public float maxVelocity; + + public float speedMultiplier; + + public bool matchPositionExactly; + + public bool wasMatchingPosition; + + private Rigidbody previousAttachedLimb; + + [Space(3f)] + public bool bodyBleedingHeavily; + + private Vector3 previousBodyPosition; + + private int bloodAmount; + + private int maxBloodAmount; + + public GameObject[] bodyBloodDecals; + + [Space(3f)] + private bool bodyMovedThisFrame; + + private float syncBodyPositionTimer; + + private bool serverSyncedPositionWithClients; + + public bool seenByLocalPlayer; + + public AudioSource bodyAudio; + + private float velocityLastFrame; + + public Transform radarDot; + + private float timeSinceLastCollisionSFX; + + public bool parentedToShip; + + public bool detachedHead; + + public Transform detachedHeadObject; + + public Vector3 detachedHeadVelocity; + + public ParticleSystem bloodSplashParticle; + + public ParticleSystem beamUpParticle; + + public ParticleSystem beamOutParticle; + + public AudioSource playAudioOnDeath; + + public CauseOfDeath causeOfDeath; + + private float resetBodyPartsTimer; + + public GrabbableObject grabBodyObject; + + private bool bodySetToKinematic; + + public bool lerpBeforeMatchingPosition; + + private float moveToExactPositionTimer; + + public bool canBeGrabbedBackByPlayers; + + public bool isInShip; + + private void FloatBodyToWaterSurface() + { + } + + private void StopFloatingBody() + { + } + + private void FixedUpdate() + { + } + + private void OnDestroy() + { + } + + private void Start() + { + } + + private void Update() + { + } + + public void DetectIfSeenByLocalPlayer() + { + } + + private void LateUpdate() + { + } + + private void DetectBodyMovedDistanceThreshold() + { + } + + private void ResetBodyPositionIfTooFarFromAttachment() + { + } + + private void EnableCollisionOnBodyParts() + { + } + + public void MakeCorpseBloody() + { + } + + public void SetBodyPartsKinematic(bool setKinematic = true) + { + } + + public void ResetRagdollPosition() + { + } + + public void SetRagdollPositionSafely(Vector3 newPosition, bool disableSpecialEffects = false) + { + } + + public void AddForceToBodyPart(int bodyPartIndex, Vector3 force) + { + } + + public void ChangeMesh(Mesh changeMesh, Material changeMaterial = null) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DeadBodyInfo.cs.meta b/Assets/Scripts/Assembly-CSharp/DeadBodyInfo.cs.meta new file mode 100644 index 0000000..85f61eb --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DeadBodyInfo.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: cdf88883f6da836f018db4dd67f32b4c +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 300 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DeleteFileButton.cs b/Assets/Scripts/Assembly-CSharp/DeleteFileButton.cs new file mode 100644 index 0000000..5adbcc1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DeleteFileButton.cs @@ -0,0 +1,19 @@ +using TMPro; +using UnityEngine; + +public class DeleteFileButton : MonoBehaviour +{ + public int fileToDelete; + + public AudioClip deleteFileSFX; + + public TextMeshProUGUI deleteFileText; + + public void SetFileToDelete(int fileNum) + { + } + + public void DeleteFile() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DeleteFileButton.cs.meta b/Assets/Scripts/Assembly-CSharp/DeleteFileButton.cs.meta new file mode 100644 index 0000000..a21d007 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DeleteFileButton.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: bbdfa21beaf29760c9df5b331f9c8f62 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DepositItemsDesk.cs b/Assets/Scripts/Assembly-CSharp/DepositItemsDesk.cs new file mode 100644 index 0000000..17f7305 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DepositItemsDesk.cs @@ -0,0 +1,510 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class DepositItemsDesk : NetworkBehaviour, INoiseListener +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass68_0 + { + public PlayerControllerB playerDying; + + public float startTime; + + internal bool _003CAnimationGrabPlayer_003Eb__0() + { + return false; + } + } + + [CompilerGenerated] + private sealed class _003CAnimationGrabPlayer_003Ed__68 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public DepositItemsDesk _003C_003E4__this; + + public int monsterAnimationID; + + public int playerID; + + private _003C_003Ec__DisplayClass68_0 _003C_003E8__1; + + private Animator _003CmonsterAnimator_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CAnimationGrabPlayer_003Ed__68(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CcloseDoorAfterDelay_003Ed__70 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public DepositItemsDesk _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CcloseDoorAfterDelay_003Ed__70(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CdelayedAcceptanceOfItems_003Ed__59 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public DepositItemsDesk _003C_003E4__this; + + public int profit; + + public GrabbableObject[] objectsOnDesk; + + public int newGroupCredits; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CdelayedAcceptanceOfItems_003Ed__59(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CwaitForRoundToStart_003Ed__46 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public CompanyMood mood; + + public DepositItemsDesk _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CwaitForRoundToStart_003Ed__46(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public bool inGrabbingObjectsAnimation; + + public bool attacking; + + public bool doorOpen; + + private float noiseBehindWallVolume; + + [Space(3f)] + public CompanyMood[] allMoodPresets; + + public CompanyMood currentMood; + + public float patienceLevel; + + public float timesHearingNoise; + + [Space(3f)] + public float grabObjectsWaitTime; + + private float grabObjectsTimer; + + [Space(5f)] + public NetworkObject deskObjectsContainer; + + public BoxCollider triggerCollider; + + public InteractTrigger triggerScript; + + public List itemsOnCounter; + + public List itemsOnCounterNetworkObjects; + + public int itemsOnCounterAmount; + + public Animator depositDeskAnimator; + + private NetworkObject lastObjectAddedToDesk; + + private Coroutine acceptItemsCoroutine; + + private int angerSFXindex; + + private int clientsRecievedSellItemsRPC; + + private float updateInterval; + + private System.Random CompanyLevelRandom; + + [Header("AUDIOS")] + public AudioSource deskAudio; + + [Header("AUDIOS")] + public AudioSource wallAudio; + + [Header("AUDIOS")] + public AudioSource constantWallAudio; + + [Header("AUDIOS")] + public AudioSource doorWindowAudio; + + public AudioClip[] microphoneAudios; + + public AudioClip[] rareMicrophoneAudios; + + public AudioClip doorOpenSFX; + + public AudioClip doorShutSFX; + + public AudioClip rumbleSFX; + + public AudioClip rewardGood; + + public AudioClip rewardBad; + + public AudioSource rewardsMusic; + + public AudioSource speakerAudio; + + [Header("Attack animations")] + public MonsterAnimation[] monsterAnimations; + + public float killAnimationTimer; + + public float timeSinceAttacking; + + public int playersKilled; + + private float timeSinceMakingWarningNoise; + + private float waitingWithDoorOpenTimer; + + private float timeSinceLoweringPatience; + + private bool inSellingItemsAnimation; + + private void Start() + { + } + + private void SetCompanyMood(CompanyMood mood) + { + } + + [IteratorStateMachine(typeof(_003CwaitForRoundToStart_003Ed__46))] + private IEnumerator waitForRoundToStart(CompanyMood mood) + { + return null; + } + + public void PlaceItemOnCounter(PlayerControllerB playerWhoTriggered) + { + } + + [ServerRpc(RequireOwnership = false)] + public void AddObjectToDeskServerRpc(NetworkObjectReference grabbableObjectNetObject) + { + } + + [ClientRpc] + public void AddObjectToDeskClientRpc(NetworkObjectReference grabbableObjectNetObject) + { + } + + private void Update() + { + } + + private void UpdateEffects() + { + } + + private void TakeItemsOffCounterOnServer() + { + } + + [ClientRpc] + public void TakeObjectsClientRpc() + { + } + + public void SellItemsOnServer() + { + } + + [ClientRpc] + public void SellItemsClientRpc(int itemProfit, int newGroupCredits, int itemsSold, float buyingRate) + { + } + + private void SellAndDisplayItemProfits(int profit, int newGroupCredits) + { + } + + [ServerRpc(RequireOwnership = false)] + public void CheckAllPlayersSoldItemsServerRpc() + { + } + + [ClientRpc] + public void FinishSellingItemsClientRpc() + { + } + + [IteratorStateMachine(typeof(_003CdelayedAcceptanceOfItems_003Ed__59))] + private IEnumerator delayedAcceptanceOfItems(int profit, GrabbableObject[] objectsOnDesk, int newGroupCredits) + { + return null; + } + + private void PlayRewardEffects(int profit) + { + } + + private void MicrophoneSpeak() + { + } + + [ServerRpc(RequireOwnership = false)] + public void AttackPlayersServerRpc() + { + } + + [ClientRpc] + public void AttackPlayersClientRpc() + { + } + + public void Attack() + { + } + + public void CollisionDetect(int monsterAnimationID) + { + } + + [ServerRpc(RequireOwnership = false)] + public void CheckAnimationGrabPlayerServerRpc(int monsterAnimationID, int playerID) + { + } + + [ClientRpc] + public void ConfirmAnimationGrabPlayerClientRpc(int monsterAnimationID, int playerID) + { + } + + [IteratorStateMachine(typeof(_003CAnimationGrabPlayer_003Ed__68))] + private IEnumerator AnimationGrabPlayer(int monsterAnimationID, int playerID) + { + return null; + } + + public void FinishKillAnimation() + { + } + + [IteratorStateMachine(typeof(_003CcloseDoorAfterDelay_003Ed__70))] + private IEnumerator closeDoorAfterDelay() + { + return null; + } + + void INoiseListener.DetectNoise(Vector3 noisePosition, float noiseLoudness = 0.5f, int timesPlayedInOneSpot = 0, int noiseID = 0) + { + } + + [ServerRpc(RequireOwnership = false)] + public void SetPatienceServerRpc(float valueChange) + { + } + + [ClientRpc] + public void MakeWarningNoiseClientRpc() + { + } + + [ServerRpc(RequireOwnership = false)] + public void SetTimesHeardNoiseServerRpc(float valueChange) + { + } + + [ClientRpc] + public void OpenShutDoorClientRpc(bool open = true) + { + } + + public void OpenShutDoor(bool open) + { + } + + public void MakeLoudNoise(int noise) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DepositItemsDesk.cs.meta b/Assets/Scripts/Assembly-CSharp/DepositItemsDesk.cs.meta new file mode 100644 index 0000000..dc8be6d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DepositItemsDesk.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 942ddfdb359acd70bc3b360d216605ae +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DialogueSegment.cs b/Assets/Scripts/Assembly-CSharp/DialogueSegment.cs new file mode 100644 index 0000000..082c090 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DialogueSegment.cs @@ -0,0 +1,11 @@ +using System; + +[Serializable] +public class DialogueSegment +{ + public string bodyText; + + public string speakerText; + + public float waitTime; +} diff --git a/Assets/Scripts/Assembly-CSharp/DialogueSegment.cs.meta b/Assets/Scripts/Assembly-CSharp/DialogueSegment.cs.meta new file mode 100644 index 0000000..0406e6a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DialogueSegment.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 57c6c30658aaff349bca38c0ecc3847e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby.meta new file mode 100644 index 0000000..f3b444f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8ea3ea576e1f1d34c8a0c461554c1790 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning.meta new file mode 100644 index 0000000..acd136e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fb6033d09fa910546ab084e0db110718 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/CameraMode.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/CameraMode.cs new file mode 100644 index 0000000..d341a8d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/CameraMode.cs @@ -0,0 +1,11 @@ +namespace DigitalRuby.ThunderAndLightning +{ + public enum CameraMode + { + Auto = 0, + Perspective = 1, + OrthographicXY = 2, + OrthographicXZ = 3, + Unknown = 4 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/CameraMode.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/CameraMode.cs.meta new file mode 100644 index 0000000..5289490 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/CameraMode.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1a011be4b6070fc4ebf234f1897746bf +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/ICollisionHandler.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/ICollisionHandler.cs new file mode 100644 index 0000000..6fe4b5d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/ICollisionHandler.cs @@ -0,0 +1,10 @@ +using System.Collections.Generic; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public interface ICollisionHandler + { + void HandleCollision(GameObject obj, List collision, int collisionCount); + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/ICollisionHandler.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/ICollisionHandler.cs.meta new file mode 100644 index 0000000..738c3dc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/ICollisionHandler.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2a001fec0aa6902459292907b514237d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBeamSpellScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBeamSpellScript.cs new file mode 100644 index 0000000..4a19ff1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBeamSpellScript.cs @@ -0,0 +1,38 @@ +using System; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningBeamSpellScript : LightningSpellScript + { + [Header("Beam")] + [Tooltip("The lightning path script creating the beam of lightning")] + public LightningBoltPathScriptBase LightningPathScript; + + [Tooltip("Give the end point some randomization")] + public float EndPointRandomization; + + [HideInInspector] + public Action CollisionCallback; + + private void CheckCollision() + { + } + + protected override void Start() + { + } + + protected override void LateUpdate() + { + } + + protected override void OnCastSpell() + { + } + + protected override void OnStopSpell() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBeamSpellScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBeamSpellScript.cs.meta new file mode 100644 index 0000000..d2a2953 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBeamSpellScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: bec3d747305e71452b632f7040b6bed4 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBolt.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBolt.cs new file mode 100644 index 0000000..633cf34 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBolt.cs @@ -0,0 +1,547 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningBolt + { + public class LineRendererMesh + { + private const int defaultListCapacity = 2048; + + private static readonly Vector2 uv1; + + private static readonly Vector2 uv2; + + private static readonly Vector2 uv3; + + private static readonly Vector2 uv4; + + private readonly List indices; + + private readonly List vertices; + + private readonly List lineDirs; + + private readonly List colors; + + private readonly List ends; + + private readonly List texCoordsAndGlowModifiers; + + private readonly List fadeLifetimes; + + private const int boundsPadder = 1000000000; + + private int currentBoundsMinX; + + private int currentBoundsMinY; + + private int currentBoundsMinZ; + + private int currentBoundsMaxX; + + private int currentBoundsMaxY; + + private int currentBoundsMaxZ; + + private Mesh mesh; + + private MeshFilter meshFilterGlow; + + private MeshFilter meshFilterBolt; + + private MeshRenderer meshRendererGlow; + + private MeshRenderer meshRendererBolt; + + public GameObject GameObject + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public Material MaterialGlow + { + get + { + return null; + } + set + { + } + } + + public Material MaterialBolt + { + get + { + return null; + } + set + { + } + } + + public MeshRenderer MeshRendererGlow => null; + + public MeshRenderer MeshRendererBolt => null; + + public int Tag + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + set + { + } + } + + public Action CustomTransform + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + set + { + } + } + + public Transform Transform + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public bool Empty => false; + + public LineRendererMesh(LightningBoltDependencies dependencies) + { + } + + public void PopulateMesh() + { + } + + public bool PrepareForLines(int lineCount) + { + return false; + } + + public void BeginLine(Vector3 start, Vector3 end, float radius, Color32 color, float colorIntensity, Vector4 fadeLifeTime, float glowWidthModifier, float glowIntensity) + { + } + + public void AppendLine(Vector3 start, Vector3 end, float radius, Color32 color, float colorIntensity, Vector4 fadeLifeTime, float glowWidthModifier, float glowIntensity) + { + } + + public void Reset() + { + } + + private void PopulateMeshInternal() + { + } + + private void UpdateBounds(ref Vector3 point1, ref Vector3 point2) + { + } + + private void AddIndices() + { + } + + private void AppendLineInternal(ref Vector3 start, ref Vector3 end, ref Vector4 dir, ref Vector4 dirPrev1, ref Vector4 dirPrev2, Color32 color, float colorIntensity, ref Vector4 fadeLifeTime, float glowWidthModifier, float glowIntensity) + { + } + } + + [CompilerGenerated] + private sealed class _003CEnableLastRendererCoRoutine_003Ed__39 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public LightningBolt _003C_003E4__this; + + private LineRendererMesh _003ClineRenderer_003E5__2; + + private int _003Ctag_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CEnableLastRendererCoRoutine_003Ed__39(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CGenerateParticleCoRoutine_003Ed__54 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public float delay; + + public ParticleSystem p; + + public Vector3 pos; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CGenerateParticleCoRoutine_003Ed__54(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CNotifyBolt_003Ed__42 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public LightningBoltParameters p; + + public LightningBoltDependencies dependencies; + + public Vector3 start; + + public Vector3 end; + + public Transform transform; + + private float _003ClifeTime_003E5__2; + + private LightningCustomTransformStateInfo _003Cstate_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CNotifyBolt_003Ed__42(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public static int MaximumLightCount; + + public static int MaximumLightsPerBatch; + + private DateTime startTimeOffset; + + private LightningBoltDependencies dependencies; + + private float elapsedTime; + + private float lifeTime; + + private float maxLifeTime; + + private bool hasLight; + + private float timeSinceLevelLoad; + + private readonly List segmentGroups; + + private readonly List segmentGroupsWithLight; + + private readonly List activeLineRenderers; + + private static int lightCount; + + private static readonly List lineRendererCache; + + private static readonly List groupCache; + + private static readonly List lightCache; + + public float MinimumDelay + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public bool HasGlow + { + [CompilerGenerated] + get + { + return false; + } + [CompilerGenerated] + private set + { + } + } + + public bool IsActive => false; + + public CameraMode CameraMode + { + [CompilerGenerated] + get + { + return default(CameraMode); + } + [CompilerGenerated] + private set + { + } + } + + public void SetupLightningBolt(LightningBoltDependencies dependencies) + { + } + + public bool Update() + { + return false; + } + + public void Cleanup() + { + } + + public LightningBoltSegmentGroup AddGroup() + { + return null; + } + + public static void ClearCache() + { + } + + private void CleanupLight(Light l) + { + } + + private void EnableLineRenderer(LineRendererMesh lineRenderer, int tag) + { + } + + [IteratorStateMachine(typeof(_003CEnableLastRendererCoRoutine_003Ed__39))] + private IEnumerator EnableLastRendererCoRoutine() + { + return null; + } + + private LineRendererMesh GetOrCreateLineRenderer() + { + return null; + } + + private void RenderGroup(LightningBoltSegmentGroup group, LightningBoltParameters p) + { + } + + [IteratorStateMachine(typeof(_003CNotifyBolt_003Ed__42))] + private static IEnumerator NotifyBolt(LightningBoltDependencies dependencies, LightningBoltParameters p, Transform transform, Vector3 start, Vector3 end) + { + return null; + } + + private void ProcessParameters(LightningBoltParameters p, RangeOfFloats delay, LightningBoltDependencies depends) + { + } + + private void ProcessAllLightningParameters() + { + } + + private void EnableCurrentLineRendererFromThread(bool inDestroy) + { + } + + private void EnableCurrentLineRenderer() + { + } + + private void RenderParticleSystems(Vector3 start, Vector3 end, float trunkWidth, float lifeTime, float delaySeconds) + { + } + + private Transform RenderLightningBolt(LightningBoltQualitySetting quality, int generations, int startGroupIndex, int endGroupIndex, LightningBoltParameters parameters) + { + return null; + } + + private void CreateLightsForGroup(LightningBoltSegmentGroup group, LightningLightParameters lp, LightningBoltQualitySetting quality, int maxLights) + { + } + + private bool AddLightToGroup(LightningBoltSegmentGroup group, LightningLightParameters lp, int segmentIndex, int nthLight, int nthShadows, ref int maxLights, ref int nthShadowCounter) + { + return false; + } + + private Light GetOrCreateLight(LightningLightParameters lp) + { + return null; + } + + private void UpdateLight(LightningLightParameters lp, IEnumerable lights, float delay, float peakStart, float peakEnd, float lifeTime) + { + } + + private void UpdateLights() + { + } + + [IteratorStateMachine(typeof(_003CGenerateParticleCoRoutine_003Ed__54))] + private IEnumerator GenerateParticleCoRoutine(ParticleSystem p, Vector3 pos, float delay) + { + return null; + } + + private void CheckForGlow(IEnumerable parameters) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBolt.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBolt.cs.meta new file mode 100644 index 0000000..307bf60 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBolt.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4686eb14b30cc264a89ce504eaa51adc +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltDependencies.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltDependencies.cs new file mode 100644 index 0000000..15e3e1b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltDependencies.cs @@ -0,0 +1,52 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningBoltDependencies + { + public GameObject Parent; + + public Material LightningMaterialMesh; + + public Material LightningMaterialMeshNoGlow; + + public ParticleSystem OriginParticleSystem; + + public ParticleSystem DestParticleSystem; + + public Vector3 CameraPos; + + public bool CameraIsOrthographic; + + public CameraMode CameraMode; + + public bool UseWorldSpace; + + public float LevelOfDetailDistance; + + public string SortLayerName; + + public int SortOrderInLayer; + + public ICollection Parameters; + + public LightningThreadState ThreadState; + + public Func StartCoroutine; + + public Action LightAdded; + + public Action LightRemoved; + + public Action AddActiveBolt; + + public Action ReturnToCache; + + public Action LightningBoltStarted; + + public Action LightningBoltEnded; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltDependencies.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltDependencies.cs.meta new file mode 100644 index 0000000..a160bb2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltDependencies.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: bf99af9e91a0fcb4e824456af4a9bec7 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltParameters.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltParameters.cs new file mode 100644 index 0000000..7b9df0e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltParameters.cs @@ -0,0 +1,181 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + [Serializable] + public sealed class LightningBoltParameters + { + private static int randomSeed; + + private static readonly List cache; + + internal int generationWhereForksStop; + + internal int forkednessCalculated; + + internal LightningBoltQualitySetting quality; + + internal float delaySeconds; + + internal int maxLights; + + public static float Scale; + + public static readonly Dictionary QualityMaximums; + + public LightningGenerator Generator; + + public Vector3 Start; + + public Vector3 End; + + public Vector3 StartVariance; + + public Vector3 EndVariance; + + public Action CustomTransform; + + private int generations; + + public float LifeTime; + + public float Delay; + + public RangeOfFloats DelayRange; + + public float ChaosFactor; + + public float ChaosFactorForks; + + public float TrunkWidth; + + public float EndWidthMultiplier; + + public float Intensity; + + public float GlowIntensity; + + public float GlowWidthMultiplier; + + public float Forkedness; + + public int GenerationWhereForksStopSubtractor; + + public Color32 Color; + + public Color32 MainTrunkTintColor; + + private System.Random random; + + private System.Random currentRandom; + + private System.Random randomOverride; + + public float FadePercent; + + public float FadeInMultiplier; + + public float FadeFullyLitMultiplier; + + public float FadeOutMultiplier; + + private float growthMultiplier; + + public float ForkLengthMultiplier; + + public float ForkLengthVariance; + + public float ForkEndWidthMultiplier; + + public LightningLightParameters LightParameters; + + public int SmoothingFactor; + + public int Generations + { + get + { + return 0; + } + set + { + } + } + + public System.Random Random + { + get + { + return null; + } + set + { + } + } + + public System.Random RandomOverride + { + get + { + return null; + } + set + { + } + } + + public float GrowthMultiplier + { + get + { + return 0f; + } + set + { + } + } + + public List Points + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + set + { + } + } + + static LightningBoltParameters() + { + } + + public float ForkMultiplier() + { + return 0f; + } + + public Vector3 ApplyVariance(Vector3 pos, Vector3 variance) + { + return default(Vector3); + } + + public void Reset() + { + } + + public static LightningBoltParameters GetOrCreateParameters() + { + return null; + } + + public static void ReturnParametersToCache(LightningBoltParameters p) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltParameters.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltParameters.cs.meta new file mode 100644 index 0000000..f932516 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltParameters.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 42dfb56ab7c74db47a24896cd57d1307 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPathScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPathScript.cs new file mode 100644 index 0000000..4e91e7d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPathScript.cs @@ -0,0 +1,32 @@ +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningBoltPathScript : LightningBoltPathScriptBase + { + [Tooltip("How fast the lightning moves through the points or objects. 1 is normal speed, 0.01 is slower, so the lightning will move slowly between the points or objects.")] + [Range(0.01f, 1f)] + public float Speed; + + [Tooltip("Repeat when the path completes?")] + [SingleLineClamp("When each new point is moved to, this can provide a random value to make the movement to the next point appear more staggered or random. Leave as 1 and 1 to have constant speed. Use a higher maximum to create more randomness.", 1.0, 500.0)] + public RangeOfFloats SpeedIntervalRange; + + [Tooltip("Repeat when the path completes?")] + public bool Repeat; + + private float nextInterval; + + private int nextIndex; + + private Vector3? lastPoint; + + public override void CreateLightningBolt(LightningBoltParameters parameters) + { + } + + public void Reset() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPathScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPathScript.cs.meta new file mode 100644 index 0000000..34dd573 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPathScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b417fc1c49b8d68bac9662fd5e746582 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPathScriptBase.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPathScriptBase.cs new file mode 100644 index 0000000..9858164 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPathScriptBase.cs @@ -0,0 +1,24 @@ +using System.Collections.Generic; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public abstract class LightningBoltPathScriptBase : LightningBoltPrefabScriptBase + { + [Header("Lightning Path Properties")] + [Tooltip("The game objects to follow for the lightning path")] + public List LightningPath; + + private readonly List currentPathObjects; + + protected List GetCurrentPathObjects() + { + return null; + } + + protected override LightningBoltParameters OnCreateParameters() + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPathScriptBase.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPathScriptBase.cs.meta new file mode 100644 index 0000000..b2e76d9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPathScriptBase.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 09a8e4d0adf412f42b5f561554ca6bbe +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPrefabScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPrefabScript.cs new file mode 100644 index 0000000..74e7431 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPrefabScript.cs @@ -0,0 +1,24 @@ +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningBoltPrefabScript : LightningBoltPrefabScriptBase + { + [Header("Start/end")] + [Tooltip("The source game object, can be null")] + public GameObject Source; + + [Tooltip("The destination game object, can be null")] + public GameObject Destination; + + [Tooltip("X, Y and Z for variance from the start point. Use positive values.")] + public Vector3 StartVariance; + + [Tooltip("X, Y and Z for variance from the end point. Use positive values.")] + public Vector3 EndVariance; + + public override void CreateLightningBolt(LightningBoltParameters parameters) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPrefabScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPrefabScript.cs.meta new file mode 100644 index 0000000..c2054c8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPrefabScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 64f4c618a7729d1e12197deff1191ba5 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPrefabScriptBase.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPrefabScriptBase.cs new file mode 100644 index 0000000..4d2278b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPrefabScriptBase.cs @@ -0,0 +1,191 @@ +using System; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public abstract class LightningBoltPrefabScriptBase : LightningBoltScript + { + private readonly List batchParameters; + + private readonly System.Random random; + + [Header("Lightning Spawn Properties")] + [SingleLineClamp("How long to wait before creating another round of lightning bolts in seconds", 0.001, double.MaxValue)] + public RangeOfFloats IntervalRange; + + [SingleLineClamp("How many lightning bolts to emit for each interval", 0.0, 100.0)] + public RangeOfIntegers CountRange; + + [Tooltip("Reduces the probability that additional bolts from CountRange will actually happen (0 - 1).")] + [Range(0f, 1f)] + public float CountProbabilityModifier; + + public RangeOfFloats DelayRange; + + [SingleLineClamp("For each bolt emitted, how long should it stay in seconds", 0.01, 10.0)] + public RangeOfFloats DurationRange; + + [Header("Lightning Appearance Properties")] + [SingleLineClamp("The trunk width range in unity units (x = min, y = max)", 0.0001, 100.0)] + public RangeOfFloats TrunkWidthRange; + + [Tooltip("How long (in seconds) this game object should live before destroying itself. Leave as 0 for infinite.")] + [Range(0f, 1000f)] + public float LifeTime; + + [Tooltip("Generations (1 - 8, higher makes more detailed but more expensive lightning)")] + [Range(1f, 8f)] + public int Generations; + + [Tooltip("The chaos factor that determines how far the lightning main trunk can spread out, higher numbers spread out more. 0 - 1.")] + [Range(0f, 1f)] + public float ChaosFactor; + + [Tooltip("The chaos factor that determines how far the forks of the lightning can spread out, higher numbers spread out more. 0 - 1.")] + [Range(0f, 1f)] + public float ChaosFactorForks; + + [Tooltip("Intensity of the lightning")] + [Range(0f, 10f)] + public float Intensity; + + [Tooltip("The intensity of the glow")] + [Range(0f, 10f)] + public float GlowIntensity; + + [Tooltip("The width multiplier for the glow, 0 - 64")] + [Range(0f, 64f)] + public float GlowWidthMultiplier; + + [Tooltip("What percent of time the lightning should fade in and out. For example, 0.15 fades in 15% of the time and fades out 15% of the time, with full visibility 70% of the time.")] + [Range(0f, 0.5f)] + public float FadePercent; + + [Tooltip("Modify the duration of lightning fade in.")] + [Range(0f, 1f)] + public float FadeInMultiplier; + + [Tooltip("Modify the duration of fully lit lightning.")] + [Range(0f, 1f)] + public float FadeFullyLitMultiplier; + + [Tooltip("Modify the duration of lightning fade out.")] + [Range(0f, 1f)] + public float FadeOutMultiplier; + + [Tooltip("0 - 1, how slowly the lightning should grow. 0 for instant, 1 for slow.")] + [Range(0f, 1f)] + public float GrowthMultiplier; + + [Tooltip("How much smaller the lightning should get as it goes towards the end of the bolt. For example, 0.5 will make the end 50% the width of the start.")] + [Range(0f, 10f)] + public float EndWidthMultiplier; + + [Tooltip("How forked should the lightning be? (0 - 1, 0 for none, 1 for lots of forks)")] + [Range(0f, 1f)] + public float Forkedness; + + [Range(0f, 10f)] + [Tooltip("Minimum distance multiplier for forks")] + public float ForkLengthMultiplier; + + [Range(0f, 10f)] + [Tooltip("Fork distance multiplier variance. Random range of 0 to n that is added to Fork Length Multiplier.")] + public float ForkLengthVariance; + + [Tooltip("Forks have their EndWidthMultiplier multiplied by this value")] + [Range(0f, 10f)] + public float ForkEndWidthMultiplier; + + [Header("Lightning Light Properties")] + [Tooltip("Light parameters")] + public LightningLightParameters LightParameters; + + [Tooltip("Maximum number of lights that can be created per batch of lightning")] + [Range(0f, 64f)] + public int MaximumLightsPerBatch; + + [Header("Lightning Trigger Type")] + [Tooltip("Manual or automatic mode. Manual requires that you call the Trigger method in script. Automatic uses the interval to create lightning continuously.")] + public bool ManualMode; + + [Tooltip("Turns lightning into automatic mode for this number of seconds, then puts it into manual mode.")] + [Range(0f, 120f)] + public float AutomaticModeSeconds; + + [Header("Lightning custom transform handler")] + [Tooltip("Custom handler to modify the transform of each lightning bolt, useful if it will be alive longer than a few frames and needs to scale and rotate based on the position of other objects.")] + public LightningCustomTransformDelegate CustomTransformHandler; + + private float nextLightningTimestamp; + + private float lifeTimeRemaining; + + public System.Random RandomOverride + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + set + { + } + } + + private void CalculateNextLightningTimestamp(float offset) + { + } + + private void CustomTransform(LightningCustomTransformStateInfo state) + { + } + + private void CallLightning() + { + } + + private void CallLightning(Vector3? start, Vector3? end) + { + } + + protected void CreateLightningBoltsNow() + { + } + + protected override void PopulateParameters(LightningBoltParameters parameters) + { + } + + protected override void Start() + { + } + + protected override void Update() + { + } + + protected virtual void OnDrawGizmos() + { + } + + public override void CreateLightningBolt(LightningBoltParameters p) + { + } + + public void Trigger() + { + } + + public void Trigger(float seconds) + { + } + + public void Trigger(Vector3? start, Vector3? end) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPrefabScriptBase.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPrefabScriptBase.cs.meta new file mode 100644 index 0000000..d243f69 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltPrefabScriptBase.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7ddaf3aaa57130349831e27b40870d36 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltQualitySetting.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltQualitySetting.cs new file mode 100644 index 0000000..74d7b6f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltQualitySetting.cs @@ -0,0 +1,8 @@ +namespace DigitalRuby.ThunderAndLightning +{ + public enum LightningBoltQualitySetting + { + UseScript = 0, + LimitToQualitySetting = 1 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltQualitySetting.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltQualitySetting.cs.meta new file mode 100644 index 0000000..3957a17 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltQualitySetting.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7abc5776d93583e448f6e5b0ac7f9056 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltScript.cs new file mode 100644 index 0000000..1560bb5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltScript.cs @@ -0,0 +1,400 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using UnityEngine; +using UnityEngine.Rendering; +using UnityEngine.SceneManagement; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningBoltScript : MonoBehaviour + { + [Header("Lightning General Properties")] + [Tooltip("The camera the lightning should be shown in. Defaults to the current camera, or the main camera if current camera is null. If you are using a different camera, you may want to put the lightning in it's own layer and cull that layer out of any other cameras.")] + public Camera Camera; + + [Tooltip("Type of camera mode. Auto detects the camera and creates appropriate lightning. Can be overriden to do something more specific regardless of camera.")] + public CameraMode CameraMode; + + internal CameraMode calculatedCameraMode; + + [Tooltip("True if you are using world space coordinates for the lightning bolt, false if you are using coordinates relative to the parent game object.")] + public bool UseWorldSpace; + + [Tooltip("Whether to compensate for the parent transform. Default is false. If true, rotation, scale and position are altered by the parent transform. Use this to fix scaling, rotation and other offset problems with the lightning.")] + public bool CompensateForParentTransform; + + [Tooltip("Lightning quality setting. This allows setting limits on generations, lights and shadow casting lights based on the global quality setting.")] + public LightningBoltQualitySetting QualitySetting; + + [Tooltip("Whether to use multi-threaded generation of lightning. Lightning will be delayed by about 1 frame if this is turned on, but this can significantly improve performance.")] + public bool MultiThreaded; + + [Range(0f, 1000f)] + [Tooltip("If non-zero, the Camera property is used to get distance of lightning from camera. Lightning generations is reduced for each distance from camera. For example, if LevelOfDetailDistance was 100 and the lightning was 200 away from camera, generations would be reduced by 2, to a minimum of 1.")] + public float LevelOfDetailDistance; + + [Tooltip("True to use game time, false to use real time")] + public bool UseGameTime; + + [Header("Lightning 2D Settings")] + [Tooltip("Sort layer name")] + public string SortLayerName; + + [Tooltip("Order in sort layer")] + public int SortOrderInLayer; + + [Header("Lightning Rendering Properties")] + [Tooltip("Soft particles factor. 0.01 to 3.0 are typical, 100.0 to disable.")] + [Range(0.01f, 100f)] + public float SoftParticlesFactor; + + [Tooltip("The render queue for the lightning. -1 for default.")] + public int RenderQueue; + + [Tooltip("Lightning material for mesh renderer - glow")] + public Material LightningMaterialMesh; + + [Tooltip("Lightning material for mesh renderer - bolt")] + public Material LightningMaterialMeshNoGlow; + + [Tooltip("The texture to use for the lightning bolts, or null for the material default texture.")] + public Texture2D LightningTexture; + + [Tooltip("The texture to use for the lightning glow, or null for the material default texture.")] + public Texture2D LightningGlowTexture; + + [Tooltip("Particle system to play at the point of emission (start). 'Emission rate' particles will be emitted all at once.")] + public ParticleSystem LightningOriginParticleSystem; + + [Tooltip("Particle system to play at the point of impact (end). 'Emission rate' particles will be emitted all at once.")] + public ParticleSystem LightningDestinationParticleSystem; + + [Tooltip("Tint color for the lightning")] + public Color LightningTintColor; + + [Tooltip("Tint color for the lightning glow")] + public Color GlowTintColor; + + [Tooltip("Allow tintint the main trunk differently than forks.")] + public Color MainTrunkTintColor; + + [Tooltip("Source blend mode. Default is SrcAlpha.")] + public BlendMode SourceBlendMode; + + [Tooltip("Destination blend mode. Default is One. For additive blend use One. For alpha blend use OneMinusSrcAlpha.")] + public BlendMode DestinationBlendMode; + + [Tooltip("Source blend mode. Default is SrcAlpha.")] + public BlendMode SourceBlendModeGlow; + + [Tooltip("Destination blend mode. Default is One. For additive blend use One. For alpha blend use OneMinusSrcAlpha.")] + public BlendMode DestinationBlendModeGlow; + + [Header("Lightning Movement Properties")] + [Tooltip("Jitter multiplier to randomize lightning size. Jitter depends on trunk width and will make the lightning move rapidly and jaggedly, giving a more lively and sometimes cartoony feel. Jitter may be shared with other bolts depending on materials. If you need different jitters for the same material, create a second script object.")] + public float JitterMultiplier; + + [Tooltip("Built in turbulance based on the direction of each segment. Small values usually work better, like 0.2.")] + public float Turbulence; + + [Tooltip("Global turbulence velocity for this script")] + public Vector3 TurbulenceVelocity; + + [Tooltip("Flicker intensity, causes lightning to pop in and out rapidly. X = intensity, Y = speed.")] + public Vector2 IntensityFlicker; + + public static float TimeScale; + + private static bool needsTimeUpdate; + + private Texture2D lastLightningTexture; + + private Texture2D lastLightningGlowTexture; + + private readonly List activeBolts; + + private readonly LightningBoltParameters[] oneParameterArray; + + private readonly List lightningBoltCache; + + private readonly List dependenciesCache; + + private LightningThreadState threadState; + + private static int shaderId_MainTex; + + private static int shaderId_TintColor; + + private static int shaderId_JitterMultiplier; + + private static int shaderId_Turbulence; + + private static int shaderId_TurbulenceVelocity; + + private static int shaderId_SrcBlendMode; + + private static int shaderId_DstBlendMode; + + private static int shaderId_InvFade; + + private static int shaderId_LightningTime; + + private static int shaderId_IntensityFlicker; + + private static int shaderId_RenderMode; + + public Action LightningStartedCallback + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + set + { + } + } + + public Action LightningEndedCallback + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + set + { + } + } + + public Action LightAddedCallback + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + set + { + } + } + + public Action LightRemovedCallback + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + set + { + } + } + + public bool HasActiveBolts => false; + + public static Vector4 TimeVectorSinceStart + { + [CompilerGenerated] + get + { + return default(Vector4); + } + [CompilerGenerated] + private set + { + } + } + + public static float TimeSinceStart + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public static float DeltaTime + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + internal Material lightningMaterialMeshInternal + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + internal Material lightningMaterialMeshNoGlowInternal + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public virtual void CreateLightningBolt(LightningBoltParameters p) + { + } + + public void CreateLightningBolts(ICollection parameters) + { + } + + protected virtual void Awake() + { + } + + protected virtual void Start() + { + } + + protected virtual void Update() + { + } + + protected virtual void LateUpdate() + { + } + + protected virtual LightningBoltParameters OnCreateParameters() + { + return null; + } + + protected LightningBoltParameters CreateParameters() + { + return null; + } + + protected virtual void PopulateParameters(LightningBoltParameters parameters) + { + } + + private Coroutine StartCoroutineWrapper(IEnumerator routine) + { + return null; + } + + private void OnSceneLoaded(Scene arg0, LoadSceneMode arg1) + { + } + + private LightningBoltDependencies CreateLightningBoltDependencies(ICollection parameters) + { + return null; + } + + private void ReturnLightningDependenciesToCache(LightningBoltDependencies d) + { + } + + internal void OnLightAdded(Light l) + { + } + + internal void OnLightRemoved(Light l) + { + } + + internal void AddActiveBolt(LightningBolt bolt) + { + } + + private void UpdateShaderIds() + { + } + + private void UpdateMaterialsForLastTexture() + { + } + + private void UpdateTexture() + { + } + + private void SetMaterialPerspective() + { + } + + private void SetMaterialOrthographicXY() + { + } + + private void SetMaterialOrthographicXZ() + { + } + + private void SetupMaterialCamera() + { + } + + private void UpdateShaderParameters() + { + } + + private void CheckCompensateForParentTransform() + { + } + + private void UpdateCamera() + { + } + + private LightningBolt GetOrCreateLightningBolt() + { + return null; + } + + private void UpdateActiveBolts() + { + } + + private void OnApplicationQuit() + { + } + + private void Cleanup() + { + } + + private void OnDestroy() + { + } + + private void OnDisable() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltScript.cs.meta new file mode 100644 index 0000000..ca3ef15 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: e56b9c6e3e9c256601e99e9d6a49ec6a +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegment.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegment.cs new file mode 100644 index 0000000..e89f0dc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegment.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public struct LightningBoltSegment + { + public Vector3 Start; + + public Vector3 End; + + public override string ToString() + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegment.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegment.cs.meta new file mode 100644 index 0000000..5fd959e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegment.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fb004abfd707b92468c1eab689423ac8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegmentGroup.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegmentGroup.cs new file mode 100644 index 0000000..7c94a13 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegmentGroup.cs @@ -0,0 +1,38 @@ +using System.Collections.Generic; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningBoltSegmentGroup + { + public float LineWidth; + + public int StartIndex; + + public int Generation; + + public float Delay; + + public float PeakStart; + + public float PeakEnd; + + public float LifeTime; + + public float EndWidthMultiplier; + + public Color32 Color; + + public readonly List Segments; + + public readonly List Lights; + + public LightningLightParameters LightParameters; + + public int SegmentCount => 0; + + public void Reset() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegmentGroup.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegmentGroup.cs.meta new file mode 100644 index 0000000..8cde816 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltSegmentGroup.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8c202b111e042e54eb96be21760d67bb +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltShapeConeScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltShapeConeScript.cs new file mode 100644 index 0000000..da59d04 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltShapeConeScript.cs @@ -0,0 +1,21 @@ +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningBoltShapeConeScript : LightningBoltPrefabScriptBase + { + [Header("Lightning Cone Properties")] + [Tooltip("Radius at base of cone where lightning can emit from")] + public float InnerRadius; + + [Tooltip("Radius at outer part of the cone where lightning emits to")] + public float OuterRadius; + + [Tooltip("The length of the cone from the center of the inner and outer circle")] + public float Length; + + public override void CreateLightningBolt(LightningBoltParameters parameters) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltShapeConeScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltShapeConeScript.cs.meta new file mode 100644 index 0000000..1827543 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltShapeConeScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: f86e4a4cbb7ab6bd838bf02acf2a73d9 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltShapeSphereScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltShapeSphereScript.cs new file mode 100644 index 0000000..6e89f97 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltShapeSphereScript.cs @@ -0,0 +1,18 @@ +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningBoltShapeSphereScript : LightningBoltPrefabScriptBase + { + [Header("Lightning Sphere Properties")] + [Tooltip("Radius inside the sphere where lightning can emit from")] + public float InnerRadius; + + [Tooltip("Radius of the sphere")] + public float Radius; + + public override void CreateLightningBolt(LightningBoltParameters parameters) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltShapeSphereScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltShapeSphereScript.cs.meta new file mode 100644 index 0000000..2ca695a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltShapeSphereScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 4f8ecb7d1d75ba30721615de3231ebe4 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltTransformTrackerScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltTransformTrackerScript.cs new file mode 100644 index 0000000..1ab9709 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltTransformTrackerScript.cs @@ -0,0 +1,39 @@ +using System.Collections.Generic; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningBoltTransformTrackerScript : MonoBehaviour + { + [Tooltip("The lightning script to track.")] + public LightningBoltPrefabScript LightningScript; + + [Tooltip("The transform to track which will be where the bolts are emitted from.")] + public Transform StartTarget; + + [Tooltip("(Optional) The transform to track which will be where the bolts are emitted to. If no end target is specified, lightning will simply move to stay on top of the start target.")] + public Transform EndTarget; + + [SingleLine("Scaling limits.")] + public RangeOfFloats ScaleLimit; + + private readonly Dictionary transformStartPositions; + + private void Start() + { + } + + private static float AngleBetweenVector2(Vector2 vec1, Vector2 vec2) + { + return 0f; + } + + private static void UpdateTransform(LightningCustomTransformStateInfo state, LightningBoltPrefabScript script, RangeOfFloats scaleLimit) + { + } + + public void CustomTransformHandler(LightningCustomTransformStateInfo state) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltTransformTrackerScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltTransformTrackerScript.cs.meta new file mode 100644 index 0000000..f5c6a32 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningBoltTransformTrackerScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2c0dfcc75b58937f057ae0b61fc51247 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformDelegate.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformDelegate.cs new file mode 100644 index 0000000..4780512 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformDelegate.cs @@ -0,0 +1,13 @@ +using System; +using UnityEngine.Events; + +namespace DigitalRuby.ThunderAndLightning +{ + [Serializable] + public class LightningCustomTransformDelegate : UnityEvent + { + public LightningCustomTransformDelegate() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformDelegate.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformDelegate.cs.meta new file mode 100644 index 0000000..7fc8c33 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformDelegate.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2295269a322083b4d931beeff97f376b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformState.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformState.cs new file mode 100644 index 0000000..9af9258 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformState.cs @@ -0,0 +1,9 @@ +namespace DigitalRuby.ThunderAndLightning +{ + public enum LightningCustomTransformState + { + Started = 0, + Executing = 1, + Ended = 2 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformState.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformState.cs.meta new file mode 100644 index 0000000..669028b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformState.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: bec417b72312cfc46baf45a2fd07ee31 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformStateInfo.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformStateInfo.cs new file mode 100644 index 0000000..4cf2b22 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformStateInfo.cs @@ -0,0 +1,58 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningCustomTransformStateInfo + { + public Vector3 BoltStartPosition; + + public Vector3 BoltEndPosition; + + public Transform Transform; + + public Transform StartTransform; + + public Transform EndTransform; + + public object UserInfo; + + private static readonly List cache; + + public LightningCustomTransformState State + { + [CompilerGenerated] + get + { + return default(LightningCustomTransformState); + } + [CompilerGenerated] + set + { + } + } + + public LightningBoltParameters Parameters + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + set + { + } + } + + public static LightningCustomTransformStateInfo GetOrCreateStateInfo() + { + return null; + } + + public static void ReturnStateInfoToCache(LightningCustomTransformStateInfo info) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformStateInfo.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformStateInfo.cs.meta new file mode 100644 index 0000000..529fd06 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningCustomTransformStateInfo.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 4150c905bc2931aa31c0d7acf6a9a808 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningFieldScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningFieldScript.cs new file mode 100644 index 0000000..0865b42 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningFieldScript.cs @@ -0,0 +1,36 @@ +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningFieldScript : LightningBoltPrefabScriptBase + { + [Header("Lightning Field Properties")] + [Tooltip("The minimum length for a field segment")] + public float MinimumLength; + + private float minimumLengthSquared; + + [Tooltip("The bounds to put the field in.")] + public Bounds FieldBounds; + + [Tooltip("Optional light for the lightning field to emit")] + public Light Light; + + private Vector3 RandomPointInBounds() + { + return default(Vector3); + } + + protected override void Start() + { + } + + protected override void Update() + { + } + + public override void CreateLightningBolt(LightningBoltParameters parameters) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningFieldScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningFieldScript.cs.meta new file mode 100644 index 0000000..677f171 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningFieldScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 6bda480b70763f1284abd9cc1cac85e6 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGenerator.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGenerator.cs new file mode 100644 index 0000000..4980264 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGenerator.cs @@ -0,0 +1,66 @@ +using System; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningGenerator + { + internal const float oneOver255 = 0.003921569f; + + internal const float mainTrunkMultiplier = 0.003921569f; + + public static readonly LightningGenerator GeneratorInstance; + + private void GetPerpendicularVector(ref Vector3 directionNormalized, out Vector3 side) + { + side = default(Vector3); + } + + protected virtual void OnGenerateLightningBolt(LightningBolt bolt, Vector3 start, Vector3 end, LightningBoltParameters parameters) + { + } + + public bool ShouldCreateFork(LightningBoltParameters parameters, int generation, int totalGenerations) + { + return false; + } + + public void CreateFork(LightningBolt bolt, LightningBoltParameters parameters, int generation, int totalGenerations, Vector3 start, Vector3 midPoint) + { + } + + public void GenerateLightningBoltStandard(LightningBolt bolt, Vector3 start, Vector3 end, int generation, int totalGenerations, float offsetAmount, LightningBoltParameters parameters) + { + } + + public Vector3 RandomDirection3D(System.Random random) + { + return default(Vector3); + } + + public Vector3 RandomDirection2D(System.Random random) + { + return default(Vector3); + } + + public Vector3 RandomDirection2DXZ(System.Random random) + { + return default(Vector3); + } + + public void RandomVector(LightningBolt bolt, ref Vector3 start, ref Vector3 end, float offsetAmount, System.Random random, out Vector3 result) + { + result = default(Vector3); + } + + public void GenerateLightningBolt(LightningBolt bolt, LightningBoltParameters parameters) + { + } + + public void GenerateLightningBolt(LightningBolt bolt, LightningBoltParameters parameters, out Vector3 start, out Vector3 end) + { + start = default(Vector3); + end = default(Vector3); + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGenerator.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGenerator.cs.meta new file mode 100644 index 0000000..a4a1bcd --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGenerator.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2c07dcfac26ccc8c6463de52a44a2e72 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGeneratorPath.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGeneratorPath.cs new file mode 100644 index 0000000..77386e8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGeneratorPath.cs @@ -0,0 +1,17 @@ +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningGeneratorPath : LightningGenerator + { + public static readonly LightningGeneratorPath PathGeneratorInstance; + + public void GenerateLightningBoltPath(LightningBolt bolt, Vector3 start, Vector3 end, LightningBoltParameters parameters) + { + } + + protected override void OnGenerateLightningBolt(LightningBolt bolt, Vector3 start, Vector3 end, LightningBoltParameters parameters) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGeneratorPath.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGeneratorPath.cs.meta new file mode 100644 index 0000000..538cbe2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGeneratorPath.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 64f31d2e7c596ca479741255d098d104 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGizmoScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGizmoScript.cs new file mode 100644 index 0000000..9c31e1a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGizmoScript.cs @@ -0,0 +1,8 @@ +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningGizmoScript : MonoBehaviour + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGizmoScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGizmoScript.cs.meta new file mode 100644 index 0000000..f1ced09 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningGizmoScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 1881de3931d1841a01b7ac611ddc76d4 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningLightParameters.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningLightParameters.cs new file mode 100644 index 0000000..f515c6a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningLightParameters.cs @@ -0,0 +1,72 @@ +using System; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + [Serializable] + public class LightningLightParameters + { + [Tooltip("Light render mode - leave as auto unless you have special use cases")] + [HideInInspector] + public LightRenderMode RenderMode; + + [Tooltip("Color of the light")] + public Color LightColor; + + [Tooltip("What percent of segments should have a light? For performance you may want to keep this small.")] + [Range(0f, 1f)] + public float LightPercent; + + [Tooltip("What percent of lights created should cast shadows?")] + [Range(0f, 1f)] + public float LightShadowPercent; + + [Tooltip("Light intensity")] + [Range(0f, 8f)] + public float LightIntensity; + + [Tooltip("Light multiplier. Can set to a high number (millions) if HDRP (lumens) support is needed.")] + [Range(0f, 10000000f)] + public float LightMultiplier; + + [Tooltip("Bounce intensity")] + [Range(0f, 8f)] + public float BounceIntensity; + + [Tooltip("Shadow strength, 0 means all light, 1 means all shadow")] + [Range(0f, 1f)] + public float ShadowStrength; + + [Tooltip("Shadow bias, 0 - 2")] + [Range(0f, 2f)] + public float ShadowBias; + + [Tooltip("Shadow normal bias, 0 - 3")] + [Range(0f, 3f)] + public float ShadowNormalBias; + + [Tooltip("The range of each light created")] + public float LightRange; + + [Tooltip("Only light objects that match this layer mask")] + public LayerMask CullingMask; + + [Tooltip("Offset from camera position when in orthographic mode")] + [Range(-1000f, 1000f)] + public float OrthographicOffset; + + [Tooltip("Increase the duration of light fade in compared to the lightning fade.")] + [Range(0f, 20f)] + public float FadeInMultiplier; + + [Tooltip("Increase the duration of light fully lit compared to the lightning fade.")] + [Range(0f, 20f)] + public float FadeFullyLitMultiplier; + + [Tooltip("Increase the duration of light fade out compared to the lightning fade.")] + [Range(0f, 20f)] + public float FadeOutMultiplier; + + public bool HasLight => false; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningLightParameters.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningLightParameters.cs.meta new file mode 100644 index 0000000..84de5f6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningLightParameters.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d5addd5e44b43d14197412577c333598 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningLightsabreScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningLightsabreScript.cs new file mode 100644 index 0000000..bb13785 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningLightsabreScript.cs @@ -0,0 +1,50 @@ +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningLightsabreScript : LightningBoltPrefabScript + { + [Header("Lightsabre Properties")] + [Tooltip("Height of the blade")] + public float BladeHeight; + + [Tooltip("How long it takes to turn the lightsabre on and off")] + public float ActivationTime; + + [Tooltip("Sound to play when the lightsabre turns on")] + public AudioSource StartSound; + + [Tooltip("Sound to play when the lightsabre turns off")] + public AudioSource StopSound; + + [Tooltip("Sound to play when the lightsabre stays on")] + public AudioSource ConstantSound; + + private int state; + + private Vector3 bladeStart; + + private Vector3 bladeDir; + + private float bladeTime; + + private float bladeIntensity; + + protected override void Start() + { + } + + protected override void Update() + { + } + + public bool TurnOn(bool value) + { + return false; + } + + public void TurnOnGUI(bool value) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningLightsabreScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningLightsabreScript.cs.meta new file mode 100644 index 0000000..68c7df3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningLightsabreScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 6a83eb5639da3a8ab8dc9bfedeab7376 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningMeshSurfaceScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningMeshSurfaceScript.cs new file mode 100644 index 0000000..8acbfd3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningMeshSurfaceScript.cs @@ -0,0 +1,71 @@ +using System.Collections.Generic; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningMeshSurfaceScript : LightningBoltPrefabScriptBase + { + [Header("Lightning Mesh Properties")] + [Tooltip("The mesh filter. You must assign a mesh filter in order to create lightning on the mesh.")] + public MeshFilter MeshFilter; + + [Tooltip("The mesh collider. This is used to get random points on the mesh.")] + public Collider MeshCollider; + + [SingleLine("Random range that the point will offset from the mesh, using the normal of the chosen point to offset")] + public RangeOfFloats MeshOffsetRange; + + [Header("Lightning Path Properties")] + [SingleLine("Range for points in the lightning path")] + public RangeOfIntegers PathLengthCount; + + [SingleLine("Range for minimum distance between points in the lightning path")] + public RangeOfFloats MinimumPathDistanceRange; + + [Tooltip("The maximum distance between mesh points. When walking the mesh, if a point is greater than this, the path direction is reversed. This tries to avoid paths crossing between mesh points that are not actually physically touching.")] + public float MaximumPathDistance; + + private float maximumPathDistanceSquared; + + [Tooltip("Whether to use spline interpolation between the path points. Paths must be at least 4 points long to be splined.")] + public bool Spline; + + [Tooltip("For spline. the distance hint for each spline segment. Set to <= 0 to use the generations to determine how many spline segments to use. If > 0, it will be divided by Generations before being applied. This value is a guideline and is approximate, and not uniform on the spline.")] + public float DistancePerSegmentHint; + + private readonly List sourcePoints; + + private Mesh previousMesh; + + private MeshHelper meshHelper; + + private void CheckMesh() + { + } + + protected override LightningBoltParameters OnCreateParameters() + { + return null; + } + + protected virtual void PopulateSourcePoints(List points) + { + } + + public void CreateRandomLightningPath(List points) + { + } + + protected override void Start() + { + } + + protected override void Update() + { + } + + public override void CreateLightningBolt(LightningBoltParameters parameters) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningMeshSurfaceScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningMeshSurfaceScript.cs.meta new file mode 100644 index 0000000..f636b93 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningMeshSurfaceScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2ec48d4b3e96138101cb76fdc0c3c680 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningParticleCollisionForwarder.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningParticleCollisionForwarder.cs new file mode 100644 index 0000000..d358fc7 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningParticleCollisionForwarder.cs @@ -0,0 +1,24 @@ +using System.Collections.Generic; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + [RequireComponent(typeof(ParticleSystem))] + public class LightningParticleCollisionForwarder : MonoBehaviour + { + [Tooltip("The script to forward the collision to. Must implement ICollisionHandler.")] + public MonoBehaviour CollisionHandler; + + private ParticleSystem _particleSystem; + + private readonly List collisionEvents; + + private void Start() + { + } + + private void OnParticleCollision(GameObject other) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningParticleCollisionForwarder.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningParticleCollisionForwarder.cs.meta new file mode 100644 index 0000000..1f90fa4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningParticleCollisionForwarder.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: d7131283513da770cd2417b35d27160a +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningParticleSpellScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningParticleSpellScript.cs new file mode 100644 index 0000000..91b1df6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningParticleSpellScript.cs @@ -0,0 +1,79 @@ +using System; +using System.Collections.Generic; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningParticleSpellScript : LightningSpellScript, ICollisionHandler + { + [Header("Particle system")] + public ParticleSystem ParticleSystem; + + [Tooltip("Particle system collision interval. This time must elapse before another collision will be registered.")] + public float CollisionInterval; + + protected float collisionTimer; + + [HideInInspector] + public Action, int> CollisionCallback; + + [Header("Particle Light Properties")] + [Tooltip("Whether to enable point lights for the particles")] + public bool EnableParticleLights; + + [SingleLineClamp("Possible range for particle lights", 0.001, 100.0)] + public RangeOfFloats ParticleLightRange; + + [SingleLineClamp("Possible range of intensity for particle lights", 0.009999999776482582, 8.0)] + public RangeOfFloats ParticleLightIntensity; + + [Tooltip("Possible range of colors for particle lights")] + public Color ParticleLightColor1; + + [Tooltip("Possible range of colors for particle lights")] + public Color ParticleLightColor2; + + [Tooltip("The culling mask for particle lights")] + public LayerMask ParticleLightCullingMask; + + private ParticleSystem.Particle[] particles; + + private readonly List particleLights; + + private void PopulateParticleLight(Light src) + { + } + + private void UpdateParticleLights() + { + } + + private void UpdateParticleSystems() + { + } + + protected override void OnDestroy() + { + } + + protected override void Start() + { + } + + protected override void Update() + { + } + + protected override void OnCastSpell() + { + } + + protected override void OnStopSpell() + { + } + + void ICollisionHandler.HandleCollision(GameObject obj, List collisions, int collisionCount) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningParticleSpellScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningParticleSpellScript.cs.meta new file mode 100644 index 0000000..5d2c024 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningParticleSpellScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: bcaf0cad2f26358b585e119e693f7723 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningQualityMaximum.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningQualityMaximum.cs new file mode 100644 index 0000000..c8a65c4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningQualityMaximum.cs @@ -0,0 +1,46 @@ +using System.Runtime.CompilerServices; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningQualityMaximum + { + public int MaximumGenerations + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + set + { + } + } + + public float MaximumLightPercent + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + set + { + } + } + + public float MaximumShadowPercent + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + set + { + } + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningQualityMaximum.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningQualityMaximum.cs.meta new file mode 100644 index 0000000..d2a31dc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningQualityMaximum.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0d57ec31728165045b1a9a8d3441b401 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningSpellScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningSpellScript.cs new file mode 100644 index 0000000..a975863 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningSpellScript.cs @@ -0,0 +1,240 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public abstract class LightningSpellScript : MonoBehaviour + { + [CompilerGenerated] + private sealed class _003CStopAfterSecondsCoRoutine_003Ed__19 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public LightningSpellScript _003C_003E4__this; + + public float seconds; + + private int _003Ctoken_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CStopAfterSecondsCoRoutine_003Ed__19(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [Header("Direction and distance")] + [Tooltip("The start point of the spell. Set this to a muzzle end or hand.")] + public GameObject SpellStart; + + [Tooltip("The end point of the spell. Set this to an empty game object. This will change depending on things like collisions, randomness, etc. Not all spells need an end object, but create this anyway to be sure.")] + public GameObject SpellEnd; + + [HideInInspector] + [Tooltip("The direction of the spell. Should be normalized. Does not change unless explicitly modified.")] + public Vector3 Direction; + + [Tooltip("The maximum distance of the spell")] + public float MaxDistance; + + [Header("Collision")] + [Tooltip("Whether the collision is an exploision. If not explosion, collision is directional.")] + public bool CollisionIsExplosion; + + [Tooltip("The radius of the collision explosion")] + public float CollisionRadius; + + [Tooltip("The force to explode with when there is a collision")] + public float CollisionForce; + + [Tooltip("Collision force mode")] + public ForceMode CollisionForceMode; + + [Tooltip("The particle system for collisions. For best effects, this should emit particles in bursts at time 0 and not loop.")] + public ParticleSystem CollisionParticleSystem; + + [Tooltip("The layers that the spell should collide with")] + public LayerMask CollisionMask; + + [Tooltip("Collision audio source")] + public AudioSource CollisionAudioSource; + + [Tooltip("Collision audio clips. One will be chosen at random and played one shot with CollisionAudioSource.")] + public AudioClip[] CollisionAudioClips; + + [Tooltip("Collision sound volume range.")] + public RangeOfFloats CollisionVolumeRange; + + [Header("Duration and Cooldown")] + [Tooltip("The duration in seconds that the spell will last. Not all spells support a duration. For one shot spells, this is how long the spell cast / emission light, etc. will last.")] + public float Duration; + + [Tooltip("The cooldown in seconds. Once cast, the spell must wait for the cooldown before being cast again.")] + public float Cooldown; + + [Header("Emission")] + [Tooltip("Emission sound")] + public AudioSource EmissionSound; + + [Tooltip("Emission particle system. For best results use world space, turn off looping and play on awake.")] + public ParticleSystem EmissionParticleSystem; + + [Tooltip("Light to illuminate when spell is cast")] + public Light EmissionLight; + + private int stopToken; + + protected float DurationTimer + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + protected float CooldownTimer + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public bool Casting + { + [CompilerGenerated] + get + { + return false; + } + [CompilerGenerated] + private set + { + } + } + + public bool CanCastSpell => false; + + [IteratorStateMachine(typeof(_003CStopAfterSecondsCoRoutine_003Ed__19))] + private IEnumerator StopAfterSecondsCoRoutine(float seconds) + { + return null; + } + + protected void ApplyCollisionForce(Vector3 point) + { + } + + protected void PlayCollisionSound(Vector3 pos) + { + } + + protected virtual void Start() + { + } + + protected virtual void Update() + { + } + + protected virtual void LateUpdate() + { + } + + protected virtual void OnDestroy() + { + } + + protected abstract void OnCastSpell(); + + protected abstract void OnStopSpell(); + + protected virtual void OnActivated() + { + } + + protected virtual void OnDeactivated() + { + } + + public bool CastSpell() + { + return false; + } + + public void StopSpell() + { + } + + public void ActivateSpell() + { + } + + public void DeactivateSpell() + { + } + + public void StopAfterSeconds(float seconds) + { + } + + public static GameObject FindChildRecursively(Transform t, string name) + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningSpellScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningSpellScript.cs.meta new file mode 100644 index 0000000..bbb2368 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningSpellScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: e957a0847a0b08a16ee05236fdfe4034 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningSplineScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningSplineScript.cs new file mode 100644 index 0000000..7c4d1ae --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningSplineScript.cs @@ -0,0 +1,54 @@ +using System.Collections.Generic; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningSplineScript : LightningBoltPathScriptBase + { + public const int MaxSplineGenerations = 5; + + [Header("Lightning Spline Properties")] + [Tooltip("The distance hint for each spline segment. Set to <= 0 to use the generations to determine how many spline segments to use. If > 0, it will be divided by Generations before being applied. This value is a guideline and is approximate, and not uniform on the spline.")] + public float DistancePerSegmentHint; + + private readonly List prevSourcePoints; + + private readonly List sourcePoints; + + private List savedSplinePoints; + + private int previousGenerations; + + private float previousDistancePerSegment; + + private bool SourceChanged() + { + return false; + } + + protected override void Start() + { + } + + protected override void Update() + { + } + + public override void CreateLightningBolt(LightningBoltParameters parameters) + { + } + + protected override LightningBoltParameters OnCreateParameters() + { + return null; + } + + public void Trigger(List points, bool spline) + { + } + + public static void PopulateSpline(List splinePoints, List sourcePoints, int generations, float distancePerSegmentHit, Camera camera) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningSplineScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningSplineScript.cs.meta new file mode 100644 index 0000000..255e00b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningSplineScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: f6e6a648c2a89af3a2ee21c264e23a10 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningThreadState.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningThreadState.cs new file mode 100644 index 0000000..66a5baf --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningThreadState.cs @@ -0,0 +1,56 @@ +using System; +using System.Collections.Generic; +using System.Threading; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningThreadState + { + internal readonly int mainThreadId; + + internal readonly bool multiThreaded; + + private Thread lightningThread; + + private AutoResetEvent lightningThreadEvent; + + private readonly Queue actionsForBackgroundThread; + + private readonly Queue, ManualResetEvent>> actionsForMainThread; + + public bool Running; + + private bool isTerminating; + + private bool UpdateMainThreadActionsOnce(bool inDestroy) + { + return false; + } + + private void BackgroundThreadMethod() + { + } + + public LightningThreadState(bool multiThreaded) + { + } + + public void TerminateAndWaitForEnd(bool inDestroy) + { + } + + public void UpdateMainThreadActions() + { + } + + public bool AddActionForMainThread(Action action, bool waitForAction = false) + { + return false; + } + + public bool AddActionForBackgroundThread(Action action) + { + return false; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningThreadState.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningThreadState.cs.meta new file mode 100644 index 0000000..3cfd9c2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningThreadState.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 39d49bafbbae0f141a1262818cf78b71 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningWhipScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningWhipScript.cs new file mode 100644 index 0000000..67fe458 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningWhipScript.cs @@ -0,0 +1,101 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + [RequireComponent(typeof(AudioSource))] + public class LightningWhipScript : MonoBehaviour + { + [CompilerGenerated] + private sealed class _003CWhipForward_003Ed__10 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public LightningWhipScript _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CWhipForward_003Ed__10(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public AudioClip WhipCrack; + + public AudioClip WhipCrackThunder; + + private AudioSource audioSource; + + private GameObject whipStart; + + private GameObject whipEndStrike; + + private GameObject whipHandle; + + private GameObject whipSpring; + + private Vector2 prevDrag; + + private bool dragging; + + private bool canWhip; + + [IteratorStateMachine(typeof(_003CWhipForward_003Ed__10))] + private IEnumerator WhipForward() + { + return null; + } + + private void Start() + { + } + + private void Update() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningWhipScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningWhipScript.cs.meta new file mode 100644 index 0000000..3507784 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningWhipScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 401a4c7d8ee75553f0faac9548e0e795 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningWhipSpell.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningWhipSpell.cs new file mode 100644 index 0000000..da341bd --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningWhipSpell.cs @@ -0,0 +1,120 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class LightningWhipSpell : LightningSpellScript + { + [CompilerGenerated] + private sealed class _003CWhipForward_003Ed__7 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public LightningWhipSpell _003C_003E4__this; + + private Vector3 _003CwhipPositionForwards_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CWhipForward_003Ed__7(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [Header("Whip")] + [Tooltip("Attach the whip to what object")] + public GameObject AttachTo; + + [Tooltip("Rotate the whip with this object")] + public GameObject RotateWith; + + [Tooltip("Whip handle")] + public GameObject WhipHandle; + + [Tooltip("Whip start")] + public GameObject WhipStart; + + [Tooltip("Whip spring")] + public GameObject WhipSpring; + + [Tooltip("Whip crack audio source")] + public AudioSource WhipCrackAudioSource; + + [HideInInspector] + public Action CollisionCallback; + + [IteratorStateMachine(typeof(_003CWhipForward_003Ed__7))] + private IEnumerator WhipForward() + { + return null; + } + + protected override void Start() + { + } + + protected override void Update() + { + } + + protected override void OnCastSpell() + { + } + + protected override void OnStopSpell() + { + } + + protected override void OnActivated() + { + } + + protected override void OnDeactivated() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningWhipSpell.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningWhipSpell.cs.meta new file mode 100644 index 0000000..0f46c83 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/LightningWhipSpell.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2dec805fc45b1a66652e5f67f1bbf3a8 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/MeshHelper.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/MeshHelper.cs new file mode 100644 index 0000000..ee71410 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/MeshHelper.cs @@ -0,0 +1,58 @@ +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class MeshHelper + { + private Mesh mesh; + + private int[] triangles; + + private Vector3[] vertices; + + private Vector3[] normals; + + private float[] normalizedAreaWeights; + + public Mesh Mesh => null; + + public int[] Triangles => null; + + public Vector3[] Vertices => null; + + public Vector3[] Normals => null; + + public MeshHelper(Mesh mesh) + { + } + + public void GenerateRandomPoint(ref RaycastHit hit, out int triangleIndex) + { + triangleIndex = default(int); + } + + public void GetRaycastFromTriangleIndex(int triangleIndex, ref RaycastHit hit) + { + } + + private float[] CalculateSurfaceAreas(out float totalSurfaceArea) + { + totalSurfaceArea = default(float); + return null; + } + + private void CalculateNormalizedAreaWeights() + { + } + + private int SelectRandomTriangle() + { + return 0; + } + + private Vector3 GenerateRandomBarycentricCoordinates() + { + return default(Vector3); + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/MeshHelper.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/MeshHelper.cs.meta new file mode 100644 index 0000000..711c7c2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/MeshHelper.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: d73c35bd7a5d550d5abf718de52f43a4 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/PathGenerator.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/PathGenerator.cs new file mode 100644 index 0000000..160d49a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/PathGenerator.cs @@ -0,0 +1,88 @@ +using System.Collections.Generic; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public static class PathGenerator + { + public const int MinPointsForSpline = 4; + + public static bool Is2D; + + private const float curveMultiplier = 3f; + + private const float splineMultiplier1 = -3f; + + private const float splineMultiplier2 = 3f; + + private const float splineMultiplier3 = 2f; + + private const float splineDistanceClamp = 1f; + + private const float splineEpsilon = 0.0001f; + + public static float SquareRoot(float x) + { + return 0f; + } + + private static float Distance2D(ref Vector3 point1, ref Vector3 point2) + { + return 0f; + } + + private static float Distance3D(ref Vector3 point1, ref Vector3 point2) + { + return 0f; + } + + private static void GetCurvePoint2D(ref Vector3 start, ref Vector3 end, ref Vector3 ctr1, ref Vector3 ctr2, float t, out Vector3 point) + { + point = default(Vector3); + } + + private static void GetCurvePoint3D(ref Vector3 start, ref Vector3 end, ref Vector3 ctr1, ref Vector3 ctr2, float t, out Vector3 point) + { + point = default(Vector3); + } + + private static void CalculateNonuniformCatmullRom(float p1, float p2, float p3, float p4, float distance1, float distance2, float distance3, out Vector4 point) + { + point = default(Vector4); + } + + private static float CalculatePolynomial(ref Vector4 point, float t) + { + return 0f; + } + + private static void ClampSplineDistances(ref float distance1, ref float distance2, ref float distance3) + { + } + + private static void GetSplinePoint2D(ref Vector3 point1, ref Vector3 point2, ref Vector3 point3, ref Vector3 point4, float t, out Vector3 point) + { + point = default(Vector3); + } + + private static void GetSplinePoint3D(ref Vector3 point1, ref Vector3 point2, ref Vector3 point3, ref Vector3 point4, float t, out Vector3 point) + { + point = default(Vector3); + } + + public static float CreateCurve(ICollection path, Vector3 start, Vector3 end, Vector3 ctr1, Vector3 ctr2, int numberOfSegments, float startT) + { + return 0f; + } + + public static bool CreateSpline(ICollection path, IList points, int numberOfSegments, bool closePath) + { + return false; + } + + public static bool CreateSplineWithSegmentDistance(ICollection path, IList points, float distancePerSegment, bool closePath) + { + return false; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/PathGenerator.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/PathGenerator.cs.meta new file mode 100644 index 0000000..f5d7863 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/PathGenerator.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: c89a4db892939fce3dc10e9727bd7f3a +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/RangeOfFloats.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/RangeOfFloats.cs new file mode 100644 index 0000000..4176e93 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/RangeOfFloats.cs @@ -0,0 +1,25 @@ +using System; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + [Serializable] + public struct RangeOfFloats + { + [Tooltip("Minimum value (inclusive)")] + public float Minimum; + + [Tooltip("Maximum value (inclusive)")] + public float Maximum; + + public float Random() + { + return 0f; + } + + public float Random(System.Random r) + { + return 0f; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/RangeOfFloats.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/RangeOfFloats.cs.meta new file mode 100644 index 0000000..774b88f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/RangeOfFloats.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 091c752af4caf4a4c9756002e7d8d6b6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/RangeOfIntegers.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/RangeOfIntegers.cs new file mode 100644 index 0000000..3d2e41b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/RangeOfIntegers.cs @@ -0,0 +1,25 @@ +using System; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + [Serializable] + public struct RangeOfIntegers + { + [Tooltip("Minimum value (inclusive)")] + public int Minimum; + + [Tooltip("Maximum value (inclusive)")] + public int Maximum; + + public int Random() + { + return 0; + } + + public int Random(System.Random r) + { + return 0; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/RangeOfIntegers.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/RangeOfIntegers.cs.meta new file mode 100644 index 0000000..48566dd --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/RangeOfIntegers.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 71b34cc6aa19632c2f53ae1d30c5f493 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/SingleLineAttribute.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/SingleLineAttribute.cs new file mode 100644 index 0000000..2c60b37 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/SingleLineAttribute.cs @@ -0,0 +1,25 @@ +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class SingleLineAttribute : PropertyAttribute + { + public string Tooltip + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public SingleLineAttribute(string tooltip) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/SingleLineAttribute.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/SingleLineAttribute.cs.meta new file mode 100644 index 0000000..e9dda8f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/SingleLineAttribute.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6d17ed4721d7c494eb353d58a4fee56c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/SingleLineClampAttribute.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/SingleLineClampAttribute.cs new file mode 100644 index 0000000..787b636 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/SingleLineClampAttribute.cs @@ -0,0 +1,38 @@ +using System.Runtime.CompilerServices; + +namespace DigitalRuby.ThunderAndLightning +{ + public class SingleLineClampAttribute : SingleLineAttribute + { + public double MinValue + { + [CompilerGenerated] + get + { + return 0.0; + } + [CompilerGenerated] + private set + { + } + } + + public double MaxValue + { + [CompilerGenerated] + get + { + return 0.0; + } + [CompilerGenerated] + private set + { + } + } + + public SingleLineClampAttribute(string tooltip, double minValue, double maxValue) + : base(null) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/SingleLineClampAttribute.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/SingleLineClampAttribute.cs.meta new file mode 100644 index 0000000..a04be64 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/SingleLineClampAttribute.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 742e92c8adbfe9349815491d27f96b48 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/ThunderAndLightningScript.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/ThunderAndLightningScript.cs new file mode 100644 index 0000000..a66d184 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/ThunderAndLightningScript.cs @@ -0,0 +1,224 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class ThunderAndLightningScript : MonoBehaviour + { + private class LightningBoltHandler + { + [CompilerGenerated] + private sealed class _003CProcessLightning_003Ed__9 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public LightningBoltHandler _003C_003E4__this; + + public bool intense; + + public Vector3? _start; + + public Vector3? _end; + + public bool visible; + + private AudioClip[] _003Csounds_003E5__2; + + private float _003Cintensity_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CProcessLightning_003Ed__9(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + private ThunderAndLightningScript script; + + private readonly System.Random random; + + public float VolumeMultiplier + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + set + { + } + } + + public LightningBoltHandler(ThunderAndLightningScript script) + { + } + + private void UpdateLighting() + { + } + + private void CalculateNextLightningTime() + { + } + + [IteratorStateMachine(typeof(_003CProcessLightning_003Ed__9))] + public IEnumerator ProcessLightning(Vector3? _start, Vector3? _end, bool intense, bool visible) + { + return null; + } + + private void Strike(Vector3? _start, Vector3? _end, bool intense, float intensity, Camera camera, Camera visibleInCamera) + { + } + + private void CheckForLightning() + { + } + + public void Update() + { + } + } + + [Tooltip("Lightning bolt script - optional, leave null if you don't want lightning bolts")] + public LightningBoltPrefabScript LightningBoltScript; + + [Tooltip("Camera where the lightning should be centered over. Defaults to main camera.")] + public Camera Camera; + + [SingleLine("Random interval between strikes.")] + public RangeOfFloats LightningIntervalTimeRange; + + [Tooltip("Probability (0-1) of an intense lightning bolt that hits really close. Intense lightning has increased brightness and louder thunder compared to normal lightning, and the thunder sounds plays a lot sooner.")] + [Range(0f, 1f)] + public float LightningIntenseProbability; + + [Tooltip("Sounds to play for normal thunder. One will be chosen at random for each lightning strike. Depending on intensity, some normal lightning may not play a thunder sound.")] + public AudioClip[] ThunderSoundsNormal; + + [Tooltip("Sounds to play for intense thunder. One will be chosen at random for each lightning strike.")] + public AudioClip[] ThunderSoundsIntense; + + [Tooltip("Whether lightning strikes should always try to be in the camera view")] + public bool LightningAlwaysVisible; + + [Tooltip("The chance lightning will simply be in the clouds with no visible bolt")] + [Range(0f, 1f)] + public float CloudLightningChance; + + [Tooltip("Whether to modify the skybox exposure when lightning is created")] + public bool ModifySkyboxExposure; + + [Tooltip("Base point light range for lightning bolts. Increases as intensity increases.")] + [Range(1f, 10000f)] + public float BaseLightRange; + + [Tooltip("Starting y value for the lightning strikes")] + [Range(0f, 100000f)] + public float LightningYStart; + + [Tooltip("Volume multiplier")] + [Range(0f, 1f)] + public float VolumeMultiplier; + + private float skyboxExposureOriginal; + + private float skyboxExposureStorm; + + private float nextLightningTime; + + private bool lightningInProgress; + + private AudioSource audioSourceThunder; + + private LightningBoltHandler lightningBoltHandler; + + private Material skyboxMaterial; + + private AudioClip lastThunderSound; + + public float SkyboxExposureOriginal => 0f; + + public bool EnableLightning + { + [CompilerGenerated] + get + { + return false; + } + [CompilerGenerated] + set + { + } + } + + private void Start() + { + } + + private void Update() + { + } + + public void CallNormalLightning() + { + } + + public void CallNormalLightning(Vector3? start, Vector3? end) + { + } + + public void CallIntenseLightning() + { + } + + public void CallIntenseLightning(Vector3? start, Vector3? end) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/ThunderAndLightningScript.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/ThunderAndLightningScript.cs.meta new file mode 100644 index 0000000..c298ab8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/ThunderAndLightningScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 0b47990629cc92ac1c01a4d1ab0a9fe5 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/WaitForSecondsLightning.cs b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/WaitForSecondsLightning.cs new file mode 100644 index 0000000..240d94a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/WaitForSecondsLightning.cs @@ -0,0 +1,15 @@ +using UnityEngine; + +namespace DigitalRuby.ThunderAndLightning +{ + public class WaitForSecondsLightning : CustomYieldInstruction + { + private float remaining; + + public override bool keepWaiting => false; + + public WaitForSecondsLightning(float time) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/WaitForSecondsLightning.cs.meta b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/WaitForSecondsLightning.cs.meta new file mode 100644 index 0000000..bb0f0df --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DigitalRuby/ThunderAndLightning/WaitForSecondsLightning.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ac17941cada5f574bbd7b78a192a150d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DisableMouseInMenu.cs b/Assets/Scripts/Assembly-CSharp/DisableMouseInMenu.cs new file mode 100644 index 0000000..fb4a4a1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DisableMouseInMenu.cs @@ -0,0 +1,27 @@ +using UnityEngine; +using UnityEngine.InputSystem; + +public class DisableMouseInMenu : MonoBehaviour +{ + public PlayerActions actions; + + private void Awake() + { + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + private void Look_performed(InputAction.CallbackContext context) + { + } + + private void Move_performed(InputAction.CallbackContext context) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DisableMouseInMenu.cs.meta b/Assets/Scripts/Assembly-CSharp/DisableMouseInMenu.cs.meta new file mode 100644 index 0000000..3fb1bdc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DisableMouseInMenu.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 7102aa375a8e3031efdf49607f1778b2 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DisplayCompanyBuyingRate.cs b/Assets/Scripts/Assembly-CSharp/DisplayCompanyBuyingRate.cs new file mode 100644 index 0000000..67aafcf --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DisplayCompanyBuyingRate.cs @@ -0,0 +1,11 @@ +using TMPro; +using UnityEngine; + +public class DisplayCompanyBuyingRate : MonoBehaviour +{ + public TextMeshProUGUI displayText; + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DisplayCompanyBuyingRate.cs.meta b/Assets/Scripts/Assembly-CSharp/DisplayCompanyBuyingRate.cs.meta new file mode 100644 index 0000000..b519e9c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DisplayCompanyBuyingRate.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 345b615fa9fd603a7c250df5b551d8b8 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DisplayPlayerMicVolume.cs b/Assets/Scripts/Assembly-CSharp/DisplayPlayerMicVolume.cs new file mode 100644 index 0000000..6dae612 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DisplayPlayerMicVolume.cs @@ -0,0 +1,68 @@ +using Dissonance; +using UnityEngine; +using UnityEngine.UI; + +public class DisplayPlayerMicVolume : MonoBehaviour +{ + public bool useDissonanceForMicDetection; + + [Space(3f)] + private DissonanceComms comms; + + public Image volumeMeterImage; + + public float detectedVolumeAmplitude; + + private VoicePlayerState playerState; + + public float MicLoudness; + + private string _device; + + private AudioClip _clipRecord; + + private int _sampleWindow; + + private bool _isInitialized; + + private void InitMic() + { + } + + private void StopMicrophone() + { + } + + public void SwitchMicrophone() + { + } + + private float LevelMax() + { + return 0f; + } + + private void Update() + { + } + + private void OnEnable() + { + } + + private void Awake() + { + } + + private void OnDisable() + { + } + + private void OnDestroy() + { + } + + private void OnApplicationFocus(bool focus) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DisplayPlayerMicVolume.cs.meta b/Assets/Scripts/Assembly-CSharp/DisplayPlayerMicVolume.cs.meta new file mode 100644 index 0000000..3554346 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DisplayPlayerMicVolume.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 6feb0cbc3a9512bdedc6968c5ed962f5 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DocileLocustBeesAI.cs b/Assets/Scripts/Assembly-CSharp/DocileLocustBeesAI.cs new file mode 100644 index 0000000..ed12a8c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DocileLocustBeesAI.cs @@ -0,0 +1,91 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine.VFX; + +public class DocileLocustBeesAI : EnemyAI +{ + [CompilerGenerated] + private sealed class _003CbugsLeave_003Ed__8 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public DocileLocustBeesAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CbugsLeave_003Ed__8(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + private int previousBehaviour; + + public AISearchRoutine bugsRoam; + + public VisualEffect bugsEffect; + + private float timeSinceReturning; + + public ScanNodeProperties scanNode; + + public override void DoAIInterval() + { + } + + public override void Update() + { + } + + public override void DaytimeEnemyLeave() + { + } + + [IteratorStateMachine(typeof(_003CbugsLeave_003Ed__8))] + private IEnumerator bugsLeave() + { + return null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DocileLocustBeesAI.cs.meta b/Assets/Scripts/Assembly-CSharp/DocileLocustBeesAI.cs.meta new file mode 100644 index 0000000..86ea274 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DocileLocustBeesAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 284cdd2f0e1919380ddcff6de07a0c6b +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DoorLock.cs b/Assets/Scripts/Assembly-CSharp/DoorLock.cs new file mode 100644 index 0000000..4107154 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DoorLock.cs @@ -0,0 +1,133 @@ +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.AI; + +[RequireComponent(typeof(InteractTrigger))] +public class DoorLock : NetworkBehaviour +{ + private InteractTrigger doorTrigger; + + public float maxTimeLeft; + + public float lockPickTimeLeft; + + public bool isLocked; + + public bool isPickingLock; + + [Space(5f)] + public DoorLock twinDoor; + + public Transform lockPickerPosition; + + public Transform lockPickerPosition2; + + private float enemyDoorMeter; + + private bool isDoorOpened; + + private NavMeshObstacle navMeshObstacle; + + public AudioClip pickingLockSFX; + + public AudioClip unlockSFX; + + public AudioSource doorLockSFX; + + private bool displayedLockTip; + + private bool localPlayerPickingLock; + + private int playersPickingDoor; + + private float playerPickingLockProgress; + + public void Awake() + { + } + + public void OnHoldInteract() + { + } + + public void LockDoor(float timeToLockPick = 30f) + { + } + + public void UnlockDoor() + { + } + + public void UnlockDoorSyncWithServer() + { + } + + [ServerRpc(RequireOwnership = false)] + public void UnlockDoorServerRpc() + { + } + + [ClientRpc] + public void UnlockDoorClientRpc() + { + } + + private void Update() + { + } + + private void OnTriggerStay(Collider other) + { + } + + public void OpenOrCloseDoor(PlayerControllerB playerWhoTriggered) + { + } + + public void SetDoorAsOpen(bool isOpen) + { + } + + public void OpenDoorAsEnemy() + { + } + + [ServerRpc(RequireOwnership = false)] + public void OpenDoorAsEnemyServerRpc() + { + } + + [ClientRpc] + public void OpenDoorAsEnemyClientRpc() + { + } + + public void TryPickingLock() + { + } + + public void StopPickingLock() + { + } + + [ServerRpc(RequireOwnership = false)] + public void PlayerStopPickingLockServerRpc() + { + } + + [ClientRpc] + public void PlayerStopPickingLockClientRpc() + { + } + + [ServerRpc(RequireOwnership = false)] + public void PlayerPickLockServerRpc() + { + } + + [ClientRpc] + public void PlayerPickLockClientRpc() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DoorLock.cs.meta b/Assets/Scripts/Assembly-CSharp/DoorLock.cs.meta new file mode 100644 index 0000000..058ddb4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DoorLock.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b175106070eac43e038e73170ca9b17e +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DoublewingAI.cs b/Assets/Scripts/Assembly-CSharp/DoublewingAI.cs new file mode 100644 index 0000000..7eb9b40 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DoublewingAI.cs @@ -0,0 +1,213 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class DoublewingAI : EnemyAI +{ + [CompilerGenerated] + private sealed class _003CflyAwayThenDespawn_003Ed__32 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public DoublewingAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CflyAwayThenDespawn_003Ed__32(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public Animator bodyAnimator; + + private int behaviourStateLastFrame; + + public AudioSource flappingAudio; + + public AudioClip[] birdScreechSFX; + + public AudioClip birdHitGroundSFX; + + public AISearchRoutine roamGlide; + + private bool alertingBird; + + private float glideTime; + + private float currentGlideTime; + + private RaycastHit hit; + + private bool flyingToOtherBirdLanding; + + private float avoidingPlayer; + + public Transform Body; + + private Vector3 previousPosition; + + private float flyLayerWeight; + + [Space(5f)] + public float maxSpeed; + + [Space(5f)] + public float speedElevationMultiplier; + + private float randomYRot; + + private int velocityAverageCount; + + private float averageVelocity; + + private float lerpedElevation; + + private float timeSinceEnteringFlight; + + private float randomHeightOffset; + + private bool birdStunned; + + private bool oddInterval; + + private int birdNoisiness; + + private float timeSinceSquawking; + + private float velocityInterval; + + public Rigidbody birdRigidbody; + + private int timesSyncingPosition; + + public override void Start() + { + } + + public override void DaytimeEnemyLeave() + { + } + + [IteratorStateMachine(typeof(_003CflyAwayThenDespawn_003Ed__32))] + private IEnumerator flyAwayThenDespawn() + { + return null; + } + + public override void DetectNoise(Vector3 noisePosition, float noiseLoudness, int timesPlayedInOneSpot = 0, int noiseID = 0) + { + } + + public void StunBird() + { + } + + public void UnstunBird() + { + } + + public override void DoAIInterval() + { + } + + public bool TryLanding() + { + return false; + } + + [ServerRpc(RequireOwnership = false)] + public void AlertBirdServerRpc() + { + } + + [ClientRpc] + public void AlertBirdClientRpc() + { + } + + public void AlertBird() + { + } + + public void AlertBirdByOther() + { + } + + public override void Update() + { + } + + private void BirdScreech() + { + } + + public void SetFlyDirection() + { + } + + public override void HitEnemy(int force = 1, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } + + public override void KillEnemy(bool destroy = false) + { + } + + public override void AnimationEventA() + { + } + + [ClientRpc(Delivery = RpcDelivery.Unreliable)] + public void BirdScreechClientRpc() + { + } + + public override void AnimationEventB() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DoublewingAI.cs.meta b/Assets/Scripts/Assembly-CSharp/DoublewingAI.cs.meta new file mode 100644 index 0000000..b0dd297 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DoublewingAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 693fe8614b9e67a3e74fb9b5b4670bad +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DressGirlAI.cs b/Assets/Scripts/Assembly-CSharp/DressGirlAI.cs new file mode 100644 index 0000000..0564701 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DressGirlAI.cs @@ -0,0 +1,269 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.AI; + +public class DressGirlAI : EnemyAI +{ + [CompilerGenerated] + private sealed class _003CdisappearOnDelay_003Ed__44 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public DressGirlAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CdisappearOnDelay_003Ed__44(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CsetSwitchingHauntingPlayer_003Ed__33 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public DressGirlAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CsetSwitchingHauntingPlayer_003Ed__33(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public PlayerControllerB hauntingPlayer; + + public bool hauntingLocalPlayer; + + public float timer; + + public float hauntInterval; + + private bool couldNotStareLastAttempt; + + public float staringTimer; + + public bool staringInHaunt; + + private int timesSeenByPlayer; + + private int timesStared; + + private bool seenByPlayerThisTime; + + private bool playerApproachedThisTime; + + public bool disappearingFromStare; + + private bool disappearByVanishing; + + private bool choseDisappearingPosition; + + private int timesChased; + + private float chaseTimer; + + public GameObject[] outsideNodes; + + public NavMeshHit navHit; + + private Coroutine disappearOnDelayCoroutine; + + public Transform turnCompass; + + public AudioClip[] appearStaringSFX; + + public AudioClip skipWalkSFX; + + public AudioClip breathingSFX; + + public float SFXVolumeLerpTo; + + public AudioSource heartbeatMusic; + + private bool enemyMeshEnabled; + + private System.Random ghostGirlRandom; + + private bool initializedRandomSeed; + + private bool switchedHauntingPlayer; + + private Coroutine switchHauntedPlayerCoroutine; + + private int timesChoosingAPlayer; + + public override void Start() + { + } + + private void ChoosePlayerToHaunt() + { + } + + [IteratorStateMachine(typeof(_003CsetSwitchingHauntingPlayer_003Ed__33))] + private IEnumerator setSwitchingHauntingPlayer() + { + return null; + } + + [ClientRpc] + private void ChooseNewHauntingPlayerClientRpc() + { + } + + public override void DoAIInterval() + { + } + + public override void Update() + { + } + + [ServerRpc] + private void MessWithLightsServerRpc() + { + } + + [ClientRpc] + private void MessWithLightsClientRpc() + { + } + + [ServerRpc] + private void FlipLightsBreakerServerRpc() + { + } + + [ClientRpc] + private void FlipLightsBreakerClientRpc() + { + } + + private void BeginChasing() + { + } + + private void StopChasing() + { + } + + private void TryTeleportingAroundPlayer() + { + } + + [IteratorStateMachine(typeof(_003CdisappearOnDelay_003Ed__44))] + private IEnumerator disappearOnDelay() + { + return null; + } + + private void DisappearDuringHaunt() + { + } + + private Vector3 FindPositionOutOfLOS() + { + return default(Vector3); + } + + private Vector3 TryFindingHauntPosition(bool staringMode = true, bool mustBeInLOS = true) + { + return default(Vector3); + } + + private void SetHauntStarePosition(Vector3 newPosition, float timeToStare = 15f) + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DressGirlAI.cs.meta b/Assets/Scripts/Assembly-CSharp/DressGirlAI.cs.meta new file mode 100644 index 0000000..a3eb1e2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DressGirlAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 608a43a6162f3694b2c752c0ae5149a8 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen.meta b/Assets/Scripts/Assembly-CSharp/DunGen.meta new file mode 100644 index 0000000..4bf428c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6437d9f6f63d2f348942b6feed34fd88 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/AcceptGameObjectTypesAttribute.cs b/Assets/Scripts/Assembly-CSharp/DunGen/AcceptGameObjectTypesAttribute.cs new file mode 100644 index 0000000..58df4a2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/AcceptGameObjectTypesAttribute.cs @@ -0,0 +1,27 @@ +using System; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DunGen +{ + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = true)] + public sealed class AcceptGameObjectTypesAttribute : PropertyAttribute + { + public GameObjectFilter Filter + { + [CompilerGenerated] + get + { + return default(GameObjectFilter); + } + [CompilerGenerated] + private set + { + } + } + + public AcceptGameObjectTypesAttribute(GameObjectFilter filter) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/AcceptGameObjectTypesAttribute.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/AcceptGameObjectTypesAttribute.cs.meta new file mode 100644 index 0000000..5d2c4ca --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/AcceptGameObjectTypesAttribute.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2f93d55baa11956d4ed4ef3ef8d6e222 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Adapters.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters.meta new file mode 100644 index 0000000..4827020 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4cdac8a1667a2754db0b85d67942ab44 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/BaseAdapter.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/BaseAdapter.cs new file mode 100644 index 0000000..f4494a6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/BaseAdapter.cs @@ -0,0 +1,43 @@ +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DunGen.Adapters +{ + public abstract class BaseAdapter : MonoBehaviour + { + public int Priority; + + protected DungeonGenerator dungeonGenerator; + + public virtual bool RunDuringAnalysis + { + [CompilerGenerated] + get + { + return false; + } + [CompilerGenerated] + set + { + } + } + + protected virtual void OnEnable() + { + } + + protected virtual void OnDisable() + { + } + + private void OnPostProcess(DungeonGenerator generator) + { + } + + protected virtual void Clear() + { + } + + protected abstract void Run(DungeonGenerator generator); + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/BaseAdapter.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/BaseAdapter.cs.meta new file mode 100644 index 0000000..4c218e5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/BaseAdapter.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 1e11915764dd79684d5597f4cad49fa3 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/CullingAdapter.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/CullingAdapter.cs new file mode 100644 index 0000000..00e32e8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/CullingAdapter.cs @@ -0,0 +1,15 @@ +namespace DunGen.Adapters +{ + public abstract class CullingAdapter : BaseAdapter + { + public CullingAdapter() + { + } + + protected abstract void PrepareForCulling(DungeonGenerator generator, Dungeon dungeon); + + protected override void Run(DungeonGenerator generator) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/CullingAdapter.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/CullingAdapter.cs.meta new file mode 100644 index 0000000..6c222ee --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/CullingAdapter.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 62e4dc436d6356b83d4a7ea5700c44b5 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/NavMeshAdapter.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/NavMeshAdapter.cs new file mode 100644 index 0000000..845d4a6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/NavMeshAdapter.cs @@ -0,0 +1,22 @@ +namespace DunGen.Adapters +{ + public abstract class NavMeshAdapter : BaseAdapter + { + public struct NavMeshGenerationProgress + { + public float Percentage; + + public string Description; + } + + public delegate void OnNavMeshGenerationProgress(NavMeshGenerationProgress progress); + + public OnNavMeshGenerationProgress OnProgress; + + protected override void Run(DungeonGenerator generator) + { + } + + public abstract void Generate(Dungeon dungeon); + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/NavMeshAdapter.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/NavMeshAdapter.cs.meta new file mode 100644 index 0000000..c41e53e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/NavMeshAdapter.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 7e1eb44c8bbb25ebd6d6a623f32b672c +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/UnityNavMesh2DAdapter.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/UnityNavMesh2DAdapter.cs new file mode 100644 index 0000000..4a81ada --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/UnityNavMesh2DAdapter.cs @@ -0,0 +1,241 @@ +using System; +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.AI; + +namespace DunGen.Adapters +{ + [AddComponentMenu("DunGen/NavMesh/Unity NavMesh Adapter (2D)")] + public class UnityNavMesh2DAdapter : NavMeshAdapter + { + [Serializable] + public sealed class NavMeshAgentLinkInfo + { + public int AgentTypeID; + + public int AreaTypeID; + + public bool DisableLinkWhenDoorIsClosed; + } + + private static Quaternion rotation; + + public bool AddNavMeshLinksBetweenRooms; + + public List NavMeshAgentTypes; + + public float NavMeshLinkDistanceFromDoorway; + + [SerializeField] + private int agentTypeID; + + [SerializeField] + private bool overrideTileSize; + + [SerializeField] + private int tileSize; + + [SerializeField] + private bool overrideVoxelSize; + + [SerializeField] + private float voxelSize; + + [SerializeField] + private NavMeshData navMeshData; + + [SerializeField] + private LayerMask layerMask; + + [SerializeField] + private int defaultArea; + + [SerializeField] + private bool ignoreNavMeshAgent; + + [SerializeField] + private bool ignoreNavMeshObstacle; + + [SerializeField] + private int unwalkableArea; + + private NavMeshDataInstance m_NavMeshDataInstance; + + private Dictionary cachedSpriteMeshes; + + public int AgentTypeID + { + get + { + return 0; + } + set + { + } + } + + public bool OverrideTileSize + { + get + { + return false; + } + set + { + } + } + + public int TileSize + { + get + { + return 0; + } + set + { + } + } + + public bool OverrideVoxelSize + { + get + { + return false; + } + set + { + } + } + + public float VoxelSize + { + get + { + return 0f; + } + set + { + } + } + + public NavMeshData NavMeshData + { + get + { + return null; + } + set + { + } + } + + public LayerMask LayerMask + { + get + { + return default(LayerMask); + } + set + { + } + } + + public int DefaultArea + { + get + { + return 0; + } + set + { + } + } + + public bool IgnoreNavMeshAgent + { + get + { + return false; + } + set + { + } + } + + public bool IgnoreNavMeshObstacle + { + get + { + return false; + } + set + { + } + } + + public int UnwalkableArea + { + get + { + return 0; + } + set + { + } + } + + public override void Generate(Dungeon dungeon) + { + } + + protected void AddData() + { + } + + protected void RemoveData() + { + } + + protected virtual void BakeNavMesh(Dungeon dungeon) + { + } + + protected void AppendModifierVolumes(ref List sources) + { + } + + protected virtual List CollectSources() + { + return null; + } + + protected Mesh GetMesh(Sprite sprite) + { + return null; + } + + protected void AddNavMeshLink(DoorwayConnection connection, NavMeshAgentLinkInfo agentLinkInfo) + { + } + + public NavMeshBuildSettings GetBuildSettings() + { + return default(NavMeshBuildSettings); + } + + protected Bounds CalculateWorldBounds(List sources) + { + return default(Bounds); + } + + private static Vector3 Abs(Vector3 v) + { + return default(Vector3); + } + + private static Bounds GetWorldBounds(Matrix4x4 mat, Bounds bounds) + { + return default(Bounds); + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/UnityNavMesh2DAdapter.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/UnityNavMesh2DAdapter.cs.meta new file mode 100644 index 0000000..50eaaf3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/UnityNavMesh2DAdapter.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: da2f95de9ab84c8ed32c59241ead5bb2 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/UnityNavMeshAdapter.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/UnityNavMeshAdapter.cs new file mode 100644 index 0000000..61fef45 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/UnityNavMeshAdapter.cs @@ -0,0 +1,64 @@ +using System; +using System.Collections.Generic; +using Unity.AI.Navigation; +using UnityEngine; + +namespace DunGen.Adapters +{ + [AddComponentMenu("DunGen/NavMesh/Unity NavMesh Adapter")] + public class UnityNavMeshAdapter : NavMeshAdapter + { + public enum RuntimeNavMeshBakeMode + { + PreBakedOnly = 0, + AddIfNoSurfaceExists = 1, + AlwaysRebake = 2, + FullDungeonBake = 3 + } + + [Serializable] + public sealed class NavMeshAgentLinkInfo + { + public int AgentTypeID; + + public int AreaTypeID; + + public bool DisableLinkWhenDoorIsClosed; + } + + public RuntimeNavMeshBakeMode BakeMode; + + public LayerMask LayerMask; + + public bool AddNavMeshLinksBetweenRooms; + + public List NavMeshAgentTypes; + + public float NavMeshLinkDistanceFromDoorway; + + public bool AutoGenerateFullRebakeSurfaces; + + public List FullRebakeTargets; + + private List addedSurfaces; + + private List fullBakeSurfaces; + + public override void Generate(Dungeon dungeon) + { + } + + private void BakeFullDungeon(Dungeon dungeon) + { + } + + private NavMeshSurface[] AddMissingSurfaces(Tile tile, NavMeshSurface[] existingSurfaces) + { + return null; + } + + private void AddNavMeshLink(DoorwayConnection connection, NavMeshAgentLinkInfo agentLinkInfo) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/UnityNavMeshAdapter.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/UnityNavMeshAdapter.cs.meta new file mode 100644 index 0000000..f5b8f84 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Adapters/UnityNavMeshAdapter.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 42c452f22cd8514406d2b939f4d651dd +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/AdjacentRoomCulling.cs b/Assets/Scripts/Assembly-CSharp/DunGen/AdjacentRoomCulling.cs new file mode 100644 index 0000000..373b9c5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/AdjacentRoomCulling.cs @@ -0,0 +1,233 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DunGen +{ + [AddComponentMenu("DunGen/Culling/Adjacent Room Culling")] + public class AdjacentRoomCulling : MonoBehaviour + { + public delegate void VisibilityChangedDelegate(Tile tile, bool visible); + + [CompilerGenerated] + private sealed class _003CGetAllDoorsInDungeon_003Ed__34 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private Door _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Dungeon dungeon; + + public Dungeon _003C_003E3__dungeon; + + private IEnumerator _003C_003E7__wrap1; + + Door IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CGetAllDoorsInDungeon_003Ed__34(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return null; + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return null; + } + } + + public int AdjacentTileDepth; + + public bool CullBehindClosedDoors; + + public Transform TargetOverride; + + public bool IncludeDisabledComponents; + + [NonSerialized] + public Dictionary OverrideRendererVisibilities; + + [NonSerialized] + public Dictionary OverrideLightVisibilities; + + protected List allTiles; + + protected List allDoors; + + protected List oldVisibleTiles; + + protected List visibleTiles; + + protected Dictionary tileVisibilities; + + protected Dictionary> tileRenderers; + + protected Dictionary> lightSources; + + protected Dictionary> reflectionProbes; + + protected Dictionary> doorRenderers; + + private bool dirty; + + private DungeonGenerator generator; + + private Tile currentTile; + + private Queue tilesToSearch; + + private List searchedTiles; + + public bool Ready + { + [CompilerGenerated] + get + { + return false; + } + [CompilerGenerated] + protected set + { + } + } + + protected Transform targetTransform => null; + + public event VisibilityChangedDelegate TileVisibilityChanged + { + [CompilerGenerated] + add + { + } + [CompilerGenerated] + remove + { + } + } + + protected virtual void OnEnable() + { + } + + protected virtual void OnDisable() + { + } + + public virtual void SetDungeon(Dungeon dungeon) + { + } + + public virtual bool IsTileVisible(Tile tile) + { + return false; + } + + [IteratorStateMachine(typeof(_003CGetAllDoorsInDungeon_003Ed__34))] + protected IEnumerable GetAllDoorsInDungeon(Dungeon dungeon) + { + return null; + } + + protected virtual void ClearDungeon() + { + } + + protected virtual void OnDoorStateChanged(Door door, bool isOpen) + { + } + + protected virtual void OnDungeonGenerationStatusChanged(DungeonGenerator generator, GenerationStatus status) + { + } + + protected virtual void LateUpdate() + { + } + + protected virtual void RefreshVisibility() + { + } + + protected virtual void RefreshDoorVisibilities() + { + } + + protected virtual void SetDoorVisibility(Door door, bool visible) + { + } + + protected virtual void UpdateVisibleTiles() + { + } + + protected virtual void SetTileVisibility(Tile tile, bool visible) + { + } + + public virtual void UpdateRendererLists() + { + } + + protected Tile FindCurrentTile() + { + return null; + } + + protected Tile SearchForNewCurrentTile() + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/AdjacentRoomCulling.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/AdjacentRoomCulling.cs.meta new file mode 100644 index 0000000..9218cb1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/AdjacentRoomCulling.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: d2a518e385ec867ef1ee9fa20efe715e +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Analysis.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Analysis.meta new file mode 100644 index 0000000..2ecbc17 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Analysis.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 0aa8b0ffb43e46344a3212e7b0b2ed86 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Analysis/GenerationAnalysis.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Analysis/GenerationAnalysis.cs new file mode 100644 index 0000000..ffb2cc9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Analysis/GenerationAnalysis.cs @@ -0,0 +1,214 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; + +namespace DunGen.Analysis +{ + public class GenerationAnalysis + { + private readonly List statsSet; + + public int TargetIterationCount + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + private set + { + } + } + + public int IterationCount + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + private set + { + } + } + + public NumberSetData MainPathRoomCount + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public NumberSetData BranchPathRoomCount + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public NumberSetData TotalRoomCount + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public NumberSetData MaxBranchDepth + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public NumberSetData TotalRetries + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public NumberSetData PreProcessTime + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public NumberSetData MainPathGenerationTime + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public NumberSetData BranchPathGenerationTime + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public NumberSetData PostProcessTime + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public NumberSetData TotalTime + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public float AnalysisTime + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public int SuccessCount + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + private set + { + } + } + + public float SuccessPercentage => 0f; + + public GenerationAnalysis(int targetIterationCount) + { + } + + public void Clear() + { + } + + public void Add(GenerationStats stats) + { + } + + public void IncrementSuccessCount() + { + } + + public void Analyze() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Analysis/GenerationAnalysis.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Analysis/GenerationAnalysis.cs.meta new file mode 100644 index 0000000..b82507d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Analysis/GenerationAnalysis.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 9984d8db67de63e141ff2d7f23b2403e +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Analysis/NumberSetData.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Analysis/NumberSetData.cs new file mode 100644 index 0000000..aeadcea --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Analysis/NumberSetData.cs @@ -0,0 +1,69 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; + +namespace DunGen.Analysis +{ + public sealed class NumberSetData + { + public float Min + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public float Max + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public float Average + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public float StandardDeviation + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public NumberSetData(IEnumerable values) + { + } + + public override string ToString() + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Analysis/NumberSetData.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Analysis/NumberSetData.cs.meta new file mode 100644 index 0000000..712452d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Analysis/NumberSetData.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: d124d7432628051521a8eea6d106443c +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/AxisDirection.cs b/Assets/Scripts/Assembly-CSharp/DunGen/AxisDirection.cs new file mode 100644 index 0000000..cb4afe7 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/AxisDirection.cs @@ -0,0 +1,20 @@ +using UnityEngine; + +namespace DunGen +{ + public enum AxisDirection + { + [InspectorName("+X")] + PosX = 0, + [InspectorName("-X")] + NegX = 1, + [InspectorName("+Y")] + PosY = 2, + [InspectorName("-Y")] + NegY = 3, + [InspectorName("+Z")] + PosZ = 4, + [InspectorName("-Z")] + NegZ = 5 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/AxisDirection.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/AxisDirection.cs.meta new file mode 100644 index 0000000..b5993ec --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/AxisDirection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7eb0cc53a8d7549458f6c26285ba45e6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/BasicRoomCullingCamera.cs b/Assets/Scripts/Assembly-CSharp/DunGen/BasicRoomCullingCamera.cs new file mode 100644 index 0000000..84aa802 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/BasicRoomCullingCamera.cs @@ -0,0 +1,230 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; +using UnityEngine.Rendering; + +namespace DunGen +{ + [AddComponentMenu("DunGen/Culling/Adjacent Room Culling (Multi-Camera)")] + public class BasicRoomCullingCamera : MonoBehaviour + { + protected struct RendererData + { + public Renderer Renderer; + + public bool Enabled; + } + + protected struct LightData + { + public Light Light; + + public bool Enabled; + } + + protected struct ReflectionProbeData + { + public ReflectionProbe Probe; + + public bool Enabled; + } + + [CompilerGenerated] + private sealed class _003CGetAllDoorsInDungeon_003Ed__38 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private Door _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private Dungeon dungeon; + + public Dungeon _003C_003E3__dungeon; + + private IEnumerator _003C_003E7__wrap1; + + Door IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CGetAllDoorsInDungeon_003Ed__38(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return null; + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return null; + } + } + + public int AdjacentTileDepth; + + public bool CullBehindClosedDoors; + + public Transform TargetOverride; + + public bool CullInEditor; + + public bool CullLights; + + protected bool isCulling; + + protected bool isDirty; + + protected DungeonGenerator generator; + + protected Tile currentTile; + + protected List allTiles; + + protected List allDoors; + + protected List visibleTiles; + + protected Dictionary> rendererVisibilities; + + protected Dictionary> lightVisibilities; + + protected Dictionary> reflectionProbeVisibilities; + + protected Dictionary> doorRendererVisibilities; + + public bool IsReady + { + [CompilerGenerated] + get + { + return false; + } + [CompilerGenerated] + protected set + { + } + } + + protected virtual void Awake() + { + } + + protected virtual void OnDestroy() + { + } + + protected virtual void OnEnable() + { + } + + protected virtual void OnDisable() + { + } + + private void OnBeginCameraRendering(ScriptableRenderContext context, Camera camera) + { + } + + private void OnEndCameraRendering(ScriptableRenderContext context, Camera camera) + { + } + + protected virtual void OnDungeonGenerationStatusChanged(DungeonGenerator generator, GenerationStatus status) + { + } + + protected virtual void EnableCulling(Camera camera) + { + } + + protected virtual void DisableCulling(Camera camera) + { + } + + protected void SetCullingEnabled(Camera camera, bool enabled) + { + } + + protected virtual void LateUpdate() + { + } + + protected void UpdateRendererList(Tile tile) + { + } + + protected void SetIsCulling(bool isCulling) + { + } + + protected void UpdateCulling() + { + } + + public void SetDungeon(Dungeon dungeon) + { + } + + [IteratorStateMachine(typeof(_003CGetAllDoorsInDungeon_003Ed__38))] + protected IEnumerable GetAllDoorsInDungeon(Dungeon dungeon) + { + return null; + } + + protected virtual void ClearDungeon() + { + } + + protected virtual void OnDoorStateChanged(Door door, bool isOpen) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/BasicRoomCullingCamera.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/BasicRoomCullingCamera.cs.meta new file mode 100644 index 0000000..d5c7dc1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/BasicRoomCullingCamera.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: f5d4a5b25708c41d1d8efbc06d870383 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/BranchCapType.cs b/Assets/Scripts/Assembly-CSharp/DunGen/BranchCapType.cs new file mode 100644 index 0000000..bb138f4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/BranchCapType.cs @@ -0,0 +1,8 @@ +namespace DunGen +{ + public enum BranchCapType : byte + { + InsteadOf = 0, + AsWellAs = 1 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/BranchCapType.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/BranchCapType.cs.meta new file mode 100644 index 0000000..914e904 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/BranchCapType.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fc1a6a4cfa02dc84da263a1e3e4633e3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/BranchCountHelper.cs b/Assets/Scripts/Assembly-CSharp/DunGen/BranchCountHelper.cs new file mode 100644 index 0000000..ef7910c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/BranchCountHelper.cs @@ -0,0 +1,19 @@ +using DunGen.Graph; + +namespace DunGen +{ + public static class BranchCountHelper + { + public static void ComputeBranchCounts(DungeonFlow dungeonFlow, RandomStream randomStream, DungeonProxy proxyDungeon, ref int[] mainPathBranches) + { + } + + private static void ComputeBranchCountsLocal(RandomStream randomStream, DungeonProxy proxyDungeon, ref int[] mainPathBranches) + { + } + + private static void ComputeBranchCountsGlobal(DungeonFlow dungeonFlow, RandomStream randomStream, DungeonProxy proxyDungeon, ref int[] mainPathBranches) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/BranchCountHelper.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/BranchCountHelper.cs.meta new file mode 100644 index 0000000..506c92a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/BranchCountHelper.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 86185234ca7582f923ff17830d008d1e +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/BranchMode.cs b/Assets/Scripts/Assembly-CSharp/DunGen/BranchMode.cs new file mode 100644 index 0000000..1e056c4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/BranchMode.cs @@ -0,0 +1,8 @@ +namespace DunGen +{ + public enum BranchMode + { + Local = 0, + Global = 1 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/BranchMode.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/BranchMode.cs.meta new file mode 100644 index 0000000..53a7dcf --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/BranchMode.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b0b587cf6c8fdde4f812859485122258 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Chance.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Chance.cs new file mode 100644 index 0000000..12d136a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Chance.cs @@ -0,0 +1,24 @@ +using System; + +namespace DunGen +{ + [Serializable] + public class Chance + { + public T Value; + + public float Weight; + + public Chance() + { + } + + public Chance(T value) + { + } + + public Chance(T value, float weight) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Chance.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Chance.cs.meta new file mode 100644 index 0000000..24818a9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Chance.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9d7e39039cd27cd439cf829cb2b4fa0e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/ChanceTable.cs b/Assets/Scripts/Assembly-CSharp/DunGen/ChanceTable.cs new file mode 100644 index 0000000..f3c468e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/ChanceTable.cs @@ -0,0 +1,29 @@ +using System.Collections.Generic; +using UnityEngine; + +namespace DunGen +{ + public class ChanceTable + { + [SerializeField] + public List> Weights; + + public void Add(T value, float weight) + { + } + + public void Remove(T value) + { + } + + public T GetRandom(RandomStream random) + { + return default(T); + } + + public static TVal GetCombinedRandom(RandomStream random, params ChanceTable[] tables) + { + return default(TVal); + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/ChanceTable.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/ChanceTable.cs.meta new file mode 100644 index 0000000..a264dc5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/ChanceTable.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: df68eb6692ca0d241b33f56a2a59fabb +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/CharacterTileChangedEvent.cs b/Assets/Scripts/Assembly-CSharp/DunGen/CharacterTileChangedEvent.cs new file mode 100644 index 0000000..5137197 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/CharacterTileChangedEvent.cs @@ -0,0 +1,4 @@ +namespace DunGen +{ + public delegate void CharacterTileChangedEvent(DungenCharacter character, Tile previousTile, Tile newTile); +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/CharacterTileChangedEvent.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/CharacterTileChangedEvent.cs.meta new file mode 100644 index 0000000..324f294 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/CharacterTileChangedEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 291f3538fb8977444a015d915b9bed40 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Constants.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Constants.cs new file mode 100644 index 0000000..0faef9a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Constants.cs @@ -0,0 +1,7 @@ +namespace DunGen +{ + public static class Constants + { + public const string DefaultDungeonRootName = "Dungeon"; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Constants.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Constants.cs.meta new file mode 100644 index 0000000..b15def7 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Constants.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 924512fad863516b8de6aa4cbd34129c +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/CoroutineHelper.cs b/Assets/Scripts/Assembly-CSharp/DunGen/CoroutineHelper.cs new file mode 100644 index 0000000..1f04ca3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/CoroutineHelper.cs @@ -0,0 +1,21 @@ +using System.Collections; +using UnityEngine; + +namespace DunGen +{ + public sealed class CoroutineHelper : MonoBehaviour + { + private static CoroutineHelper instance; + + private static CoroutineHelper Instance => null; + + public static Coroutine Start(IEnumerator routine) + { + return null; + } + + public static void StopAll() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/CoroutineHelper.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/CoroutineHelper.cs.meta new file mode 100644 index 0000000..18acbed --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/CoroutineHelper.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 676d0e64e301a94b7ea62c4e7d08a30f +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DebugDraw.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DebugDraw.cs new file mode 100644 index 0000000..bf6600b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DebugDraw.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace DunGen +{ + public static class DebugDraw + { + public static void Bounds(Bounds localBounds, Matrix4x4 transform, Color colour, float duration = 0f, bool depthTest = false) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DebugDraw.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DebugDraw.cs.meta new file mode 100644 index 0000000..7c26a26 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DebugDraw.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 96c746563f6d7cd92b0603ede8895255 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Door.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Door.cs new file mode 100644 index 0000000..e17c415 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Door.cs @@ -0,0 +1,77 @@ +using System; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DunGen +{ + [Serializable] + public class Door : MonoBehaviour + { + public delegate void DoorStateChangedDelegate(Door door, bool isOpen); + + [HideInInspector] + public Dungeon Dungeon; + + [HideInInspector] + public Doorway DoorwayA; + + [HideInInspector] + public Doorway DoorwayB; + + [HideInInspector] + public Tile TileA; + + [HideInInspector] + public Tile TileB; + + [SerializeField] + private bool dontCullBehind; + + [SerializeField] + private bool isOpen; + + public bool DontCullBehind + { + get + { + return false; + } + set + { + } + } + + public bool ShouldCullBehind => false; + + public virtual bool IsOpen + { + get + { + return false; + } + set + { + } + } + + public event DoorStateChangedDelegate OnDoorStateChanged + { + [CompilerGenerated] + add + { + } + [CompilerGenerated] + remove + { + } + } + + private void OnDestroy() + { + } + + public void SetDoorState(bool isOpen) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Door.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Door.cs.meta new file mode 100644 index 0000000..17a98a0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Door.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 50682bad09b1a743b13295b77aebc259 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Doorway.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Doorway.cs new file mode 100644 index 0000000..5776ae0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Doorway.cs @@ -0,0 +1,151 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using DunGen.Tags; +using UnityEngine; +using UnityEngine.Serialization; + +namespace DunGen +{ + [AddComponentMenu("DunGen/Doorway")] + public class Doorway : MonoBehaviour, ISerializationCallbackReceiver + { + public const int CurrentFileVersion = 1; + + public int DoorPrefabPriority; + + public List ConnectorPrefabWeights; + + public List BlockerPrefabWeights; + + public bool AvoidRotatingDoorPrefab; + + public bool AvoidRotatingBlockerPrefab; + + [FormerlySerializedAs("AddWhenInUse")] + public List ConnectorSceneObjects; + + [FormerlySerializedAs("AddWhenNotInUse")] + public List BlockerSceneObjects; + + public TagContainer Tags; + + public int? LockID; + + [SerializeField] + [FormerlySerializedAs("SocketGroup")] + private DoorwaySocketType socketGroup_obsolete; + + [SerializeField] + [FormerlySerializedAs("DoorPrefabs")] + private List doorPrefabs_obsolete; + + [SerializeField] + [FormerlySerializedAs("BlockerPrefabs")] + private List blockerPrefabs_obsolete; + + [SerializeField] + private DoorwaySocket socket; + + [SerializeField] + private GameObject doorPrefabInstance; + + [SerializeField] + private Door doorComponent; + + [SerializeField] + private Tile tile; + + [SerializeField] + private Doorway connectedDoorway; + + [SerializeField] + private bool hideConditionalObjects; + + [SerializeField] + private int fileVersion; + + internal bool placedByGenerator; + + public bool HasSocketAssigned => false; + + public DoorwaySocket Socket => null; + + public Tile Tile + { + get + { + return null; + } + internal set + { + } + } + + public bool IsLocked => false; + + public bool HasDoorPrefabInstance => false; + + public GameObject UsedDoorPrefabInstance => null; + + public Door DoorComponent => null; + + public Dungeon Dungeon + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + internal set + { + } + } + + public Doorway ConnectedDoorway + { + get + { + return null; + } + internal set + { + } + } + + public bool HideConditionalObjects + { + get + { + return false; + } + set + { + } + } + + private void OnDrawGizmos() + { + } + + internal void SetUsedPrefab(GameObject doorPrefab) + { + } + + internal void RemoveUsedPrefab() + { + } + + internal void DebugDraw() + { + } + + public void OnBeforeSerialize() + { + } + + public void OnAfterDeserialize() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Doorway.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Doorway.cs.meta new file mode 100644 index 0000000..0e4f4c6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Doorway.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a78fbcb05fce0467660bf5619ab66bc0 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayConnection.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayConnection.cs new file mode 100644 index 0000000..59c7246 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayConnection.cs @@ -0,0 +1,37 @@ +using System.Runtime.CompilerServices; + +namespace DunGen +{ + public sealed class DoorwayConnection + { + public Doorway A + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public Doorway B + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public DoorwayConnection(Doorway a, Doorway b) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayConnection.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayConnection.cs.meta new file mode 100644 index 0000000..33a8e47 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayConnection.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2cf60d03b632cf618ccdb9b23ef1e0f7 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayPair.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayPair.cs new file mode 100644 index 0000000..6f3e48d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayPair.cs @@ -0,0 +1,98 @@ +using System.Runtime.CompilerServices; + +namespace DunGen +{ + public struct DoorwayPair + { + public TileProxy PreviousTile + { + [CompilerGenerated] + readonly get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public DoorwayProxy PreviousDoorway + { + [CompilerGenerated] + readonly get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public TileProxy NextTemplate + { + [CompilerGenerated] + readonly get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public DoorwayProxy NextDoorway + { + [CompilerGenerated] + readonly get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public TileSet NextTileSet + { + [CompilerGenerated] + readonly get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public float TileWeight + { + [CompilerGenerated] + readonly get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public float DoorwayWeight + { + [CompilerGenerated] + readonly get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayPair.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayPair.cs.meta new file mode 100644 index 0000000..bc85959 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayPair.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e16c4e6e141585947afd578c7a761b6d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayPairFinder.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayPairFinder.cs new file mode 100644 index 0000000..7a4da24 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayPairFinder.cs @@ -0,0 +1,261 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using DunGen.Graph; +using UnityEngine; + +namespace DunGen +{ + public sealed class DoorwayPairFinder + { + [CompilerGenerated] + private sealed class _003CGetPotentialDoorwayPairsForFirstTile_003Ed__18 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private DoorwayPair _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public DoorwayPairFinder _003C_003E4__this; + + private List.Enumerator _003C_003E7__wrap1; + + private GameObjectChance _003CtileWeight_003E5__3; + + private TileProxy _003CnextTile_003E5__4; + + private float _003Cweight_003E5__5; + + private IEnumerator _003C_003E7__wrap5; + + DoorwayPair IEnumerator.Current + { + [DebuggerHidden] + get + { + return default(DoorwayPair); + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CGetPotentialDoorwayPairsForFirstTile_003Ed__18(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + } + + private void _003C_003Em__Finally2() + { + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return null; + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return null; + } + } + + [CompilerGenerated] + private sealed class _003CGetPotentialDoorwayPairsForNonFirstTile_003Ed__17 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private DoorwayPair _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + public DoorwayPairFinder _003C_003E4__this; + + private IEnumerator _003C_003E7__wrap1; + + private DoorwayProxy _003CpreviousDoor_003E5__3; + + private List.Enumerator _003C_003E7__wrap3; + + private GameObjectChance _003CtileWeight_003E5__5; + + private TileProxy _003CnextTile_003E5__6; + + private float _003Cweight_003E5__7; + + private IEnumerator _003C_003E7__wrap7; + + DoorwayPair IEnumerator.Current + { + [DebuggerHidden] + get + { + return default(DoorwayPair); + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CGetPotentialDoorwayPairsForNonFirstTile_003Ed__17(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + } + + private void _003C_003Em__Finally2() + { + } + + private void _003C_003Em__Finally3() + { + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return null; + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return null; + } + } + + public static List CustomConnectionRules; + + public RandomStream RandomStream; + + public List TileWeights; + + public TileProxy PreviousTile; + + public bool IsOnMainPath; + + public float NormalizedDepth; + + public DungeonArchetype Archetype; + + public bool? AllowRotation; + + public Vector3 UpVector; + + public TileMatchDelegate IsTileAllowedPredicate; + + public GetTileTemplateDelegate GetTileTemplateDelegate; + + public DungeonFlow DungeonFlow; + + private List tileOrder; + + public Queue GetDoorwayPairs(int? maxCount) + { + return null; + } + + private int CompareDoorwaysTileWeight(DoorwayPair x, DoorwayPair y) + { + return 0; + } + + private IEnumerable OrderDoorwayPairs(List potentialPairs, int count) + { + return null; + } + + private List CalculateOrderedListOfTiles() + { + return null; + } + + [IteratorStateMachine(typeof(_003CGetPotentialDoorwayPairsForNonFirstTile_003Ed__17))] + private IEnumerable GetPotentialDoorwayPairsForNonFirstTile() + { + return null; + } + + [IteratorStateMachine(typeof(_003CGetPotentialDoorwayPairsForFirstTile_003Ed__18))] + private IEnumerable GetPotentialDoorwayPairsForFirstTile() + { + return null; + } + + private bool IsValidDoorwayPairing(DoorwayProxy a, DoorwayProxy b, TileProxy previousTile, TileProxy nextTile, ref float weight) + { + return false; + } + + private float CalculateDoorwayWeight(DoorwayProxy doorway) + { + return 0f; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayPairFinder.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayPairFinder.cs.meta new file mode 100644 index 0000000..f200813 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayPairFinder.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 0087da7f285a31e0ee990aa9f7484b51 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayProxy.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayProxy.cs new file mode 100644 index 0000000..c552088 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayProxy.cs @@ -0,0 +1,123 @@ +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DunGen +{ + public sealed class DoorwayProxy + { + public bool Used => false; + + public TileProxy TileProxy + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public int Index + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + private set + { + } + } + + public DoorwaySocket Socket + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public Doorway DoorwayComponent + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public Vector3 LocalPosition + { + [CompilerGenerated] + get + { + return default(Vector3); + } + [CompilerGenerated] + private set + { + } + } + + public Quaternion LocalRotation + { + [CompilerGenerated] + get + { + return default(Quaternion); + } + [CompilerGenerated] + private set + { + } + } + + public DoorwayProxy ConnectedDoorway + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public Vector3 Forward => default(Vector3); + + public Vector3 Up => default(Vector3); + + public Vector3 Position => default(Vector3); + + public DoorwayProxy(TileProxy tileProxy, DoorwayProxy other) + { + } + + public DoorwayProxy(TileProxy tileProxy, int index, Doorway doorwayComponent, Vector3 localPosition, Quaternion localRotation) + { + } + + public static void Connect(DoorwayProxy a, DoorwayProxy b) + { + } + + public void Disconnect() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayProxy.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayProxy.cs.meta new file mode 100644 index 0000000..55bfcc7 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwayProxy.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0d786cc1607f6d145b08d621b1e8b9fe +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DoorwaySocket.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwaySocket.cs new file mode 100644 index 0000000..a99ce75 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwaySocket.cs @@ -0,0 +1,22 @@ +using System; +using UnityEngine; + +namespace DunGen +{ + [CreateAssetMenu(fileName = "New Doorway Socket", menuName = "DunGen/Doorway Socket", order = 700)] + public class DoorwaySocket : ScriptableObject + { + [SerializeField] + private Vector2 size; + + [Obsolete("Use DoorwayPairFinder.CustomConnectionRules instead")] + public static SocketConnectionDelegate CustomSocketConnectionDelegate; + + public Vector2 Size => default(Vector2); + + public static bool CanSocketsConnect(DoorwaySocket a, DoorwaySocket b) + { + return false; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DoorwaySocket.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwaySocket.cs.meta new file mode 100644 index 0000000..524b7b8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwaySocket.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 7309e47b2bb12594e4b01608bdfa7068 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DoorwaySocketType.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwaySocketType.cs new file mode 100644 index 0000000..c5b5104 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwaySocketType.cs @@ -0,0 +1,9 @@ +namespace DunGen +{ + public enum DoorwaySocketType + { + Default = 0, + Large = 1, + Vertical = 2 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DoorwaySocketType.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwaySocketType.cs.meta new file mode 100644 index 0000000..115570d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DoorwaySocketType.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4d77b30d92420a84b8b70e73eba36718 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DunGenSettings.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DunGenSettings.cs new file mode 100644 index 0000000..a278eff --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DunGenSettings.cs @@ -0,0 +1,27 @@ +using DunGen.Tags; +using UnityEngine; + +namespace DunGen +{ + public sealed class DunGenSettings : ScriptableObject + { + private static DunGenSettings instance; + + [SerializeField] + private DoorwaySocket defaultSocket; + + [SerializeField] + private TagManager tagManager; + + public static DunGenSettings Instance => null; + + public DoorwaySocket DefaultSocket => null; + + public TagManager TagManager => null; + + private static DunGenSettings GetOrCreateInstance() + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DunGenSettings.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DunGenSettings.cs.meta new file mode 100644 index 0000000..7ea61c3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DunGenSettings.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: e9514c3c7bc7c2d8b27bc7071710f374 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungenCharacter.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DungenCharacter.cs new file mode 100644 index 0000000..8c87631 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungenCharacter.cs @@ -0,0 +1,94 @@ +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DunGen +{ + [AddComponentMenu("DunGen/Character")] + public class DungenCharacter : MonoBehaviour + { + private static readonly List allCharacters; + + private List overlappingTiles; + + public static ReadOnlyCollection AllCharacters + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public Tile CurrentTile => null; + + public static event DungenCharacterDelegate CharacterAdded + { + [CompilerGenerated] + add + { + } + [CompilerGenerated] + remove + { + } + } + + public static event DungenCharacterDelegate CharacterRemoved + { + [CompilerGenerated] + add + { + } + [CompilerGenerated] + remove + { + } + } + + public event CharacterTileChangedEvent OnTileChanged + { + [CompilerGenerated] + add + { + } + [CompilerGenerated] + remove + { + } + } + + static DungenCharacter() + { + } + + protected virtual void OnEnable() + { + } + + protected virtual void OnDisable() + { + } + + internal void ForceRecheckTile() + { + } + + protected virtual void OnTileChangedEvent(Tile previousTile, Tile newTile) + { + } + + internal void OnTileEntered(Tile tile) + { + } + + internal void OnTileExited(Tile tile) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungenCharacter.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DungenCharacter.cs.meta new file mode 100644 index 0000000..253c377 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungenCharacter.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: f709a1ed021b9a1ff553c6b241c7f89d +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungenCharacterDelegate.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DungenCharacterDelegate.cs new file mode 100644 index 0000000..d397925 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungenCharacterDelegate.cs @@ -0,0 +1,4 @@ +namespace DunGen +{ + public delegate void DungenCharacterDelegate(DungenCharacter character); +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungenCharacterDelegate.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DungenCharacterDelegate.cs.meta new file mode 100644 index 0000000..50598a7 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungenCharacterDelegate.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8779fcb802287b146ae29985d3d28999 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Dungeon.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Dungeon.cs new file mode 100644 index 0000000..1b62437 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Dungeon.cs @@ -0,0 +1,164 @@ +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; +using DunGen.Graph; +using UnityEngine; + +namespace DunGen +{ + public class Dungeon : MonoBehaviour + { + public bool DebugRender; + + private readonly List allTiles; + + private readonly List mainPathTiles; + + private readonly List branchPathTiles; + + private readonly List doors; + + private readonly List connections; + + public Bounds Bounds + { + [CompilerGenerated] + get + { + return default(Bounds); + } + [CompilerGenerated] + protected set + { + } + } + + public DungeonFlow DungeonFlow + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + protected set + { + } + } + + public ReadOnlyCollection AllTiles + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public ReadOnlyCollection MainPathTiles + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public ReadOnlyCollection BranchPathTiles + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public ReadOnlyCollection Doors + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public ReadOnlyCollection Connections + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public DungeonGraph ConnectionGraph + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + internal void AddAdditionalDoor(Door door) + { + } + + internal void PreGenerateDungeon(DungeonGenerator dungeonGenerator) + { + } + + internal void PostGenerateDungeon(DungeonGenerator dungeonGenerator) + { + } + + public void Clear() + { + } + + public Doorway GetConnectedDoorway(Doorway doorway) + { + return null; + } + + public void FromProxy(DungeonProxy proxyDungeon, DungeonGenerator generator) + { + } + + private void SpawnDoorPrefab(Doorway a, Doorway b, RandomStream randomStream) + { + } + + public void OnDrawGizmos() + { + } + + public void DebugDraw() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Dungeon.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Dungeon.cs.meta new file mode 100644 index 0000000..acadc9d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Dungeon.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 9d311e5e92959f41bd79887af80d2c91 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonArchetype.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonArchetype.cs new file mode 100644 index 0000000..3f29737 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonArchetype.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using UnityEngine; + +namespace DunGen +{ + [Serializable] + [CreateAssetMenu(fileName = "New Archetype", menuName = "DunGen/Dungeon Archetype", order = 700)] + public sealed class DungeonArchetype : ScriptableObject + { + public List TileSets; + + public List BranchCapTileSets; + + public BranchCapType BranchCapType; + + public IntRange BranchingDepth; + + public IntRange BranchCount; + + public float StraightenChance; + + public bool Unique; + + public bool GetHasValidBranchCapTiles() + { + return false; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonArchetype.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonArchetype.cs.meta new file mode 100644 index 0000000..5086011 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonArchetype.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 1f61ab386f856f522b7dbd23657c351b +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonArchetypeValidator.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonArchetypeValidator.cs new file mode 100644 index 0000000..d509fb3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonArchetypeValidator.cs @@ -0,0 +1,38 @@ +using System.Runtime.CompilerServices; +using DunGen.Graph; + +namespace DunGen +{ + public sealed class DungeonArchetypeValidator + { + public DungeonFlow Flow + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public DungeonArchetypeValidator(DungeonFlow flow) + { + } + + public bool IsValid() + { + return false; + } + + private void LogError(string format, params object[] args) + { + } + + private void LogWarning(string format, params object[] args) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonArchetypeValidator.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonArchetypeValidator.cs.meta new file mode 100644 index 0000000..80c8c6f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonArchetypeValidator.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: d6b2dbf1455ac618ec26b3ceeb1166d3 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGenerator.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGenerator.cs new file mode 100644 index 0000000..984f16f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGenerator.cs @@ -0,0 +1,752 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using DunGen.Graph; +using UnityEngine; +using UnityEngine.Serialization; + +namespace DunGen +{ + [Serializable] + public class DungeonGenerator : ISerializationCallbackReceiver + { + [CompilerGenerated] + private sealed class _003CGenerateBranchPaths_003Ed__103 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public DungeonGenerator _003C_003E4__this; + + private int[] _003CmainPathBranches_003E5__2; + + private int _003Cb_003E5__3; + + private TileProxy _003Ctile_003E5__4; + + private int _003CbranchCount_003E5__5; + + private int _003Ci_003E5__6; + + private TileProxy _003CpreviousTile_003E5__7; + + private int _003CbranchDepth_003E5__8; + + private int _003Cj_003E5__9; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CGenerateBranchPaths_003Ed__103(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CGenerateMainPath_003Ed__100 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public DungeonGenerator _003C_003E4__this; + + private List> _003CtileSets_003E5__2; + + private List _003Carchetypes_003E5__3; + + private List _003Cnodes_003E5__4; + + private List _003Clines_003E5__5; + + private int _003CtileRetryCount_003E5__6; + + private int _003CtotalForLoopRetryCount_003E5__7; + + private int _003Cj_003E5__8; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CGenerateMainPath_003Ed__100(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CInnerGenerate_003Ed__94 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public bool isRetry; + + public DungeonGenerator _003C_003E4__this; + + private List.Enumerator _003C_003E7__wrap1; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CInnerGenerate_003Ed__94(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003COuterGenerate_003Ed__91 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public DungeonGenerator _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003COuterGenerate_003Ed__91(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CPostProcess_003Ed__114 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public DungeonGenerator _003C_003E4__this; + + private int _003Clength_003E5__2; + + private int _003CmaxBranchDepth_003E5__3; + + private List.Enumerator _003C_003E7__wrap3; + + private DungeonGeneratorPostProcessStep _003Cstep_003E5__5; + + private IEnumerator _003C_003E7__wrap5; + + private Tile _003Ctile_003E5__7; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CPostProcess_003Ed__114(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + } + + private void _003C_003Em__Finally2() + { + } + + private void _003C_003Em__Finally3() + { + } + + private void _003C_003Em__Finally4() + { + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public const int CurrentFileVersion = 1; + + [SerializeField] + [FormerlySerializedAs("AllowImmediateRepeats")] + private bool allowImmediateRepeats; + + public int Seed; + + public bool ShouldRandomizeSeed; + + public int MaxAttemptCount; + + public bool UseMaximumPairingAttempts; + + public int MaxPairingAttempts; + + public bool IgnoreSpriteBounds; + + public AxisDirection UpDirection; + + [FormerlySerializedAs("OverrideAllowImmediateRepeats")] + public bool OverrideRepeatMode; + + public TileRepeatMode RepeatMode; + + public bool OverrideAllowTileRotation; + + public bool AllowTileRotation; + + public bool DebugRender; + + public float LengthMultiplier; + + public bool PlaceTileTriggers; + + public int TileTriggerLayer; + + public bool GenerateAsynchronously; + + public float MaxAsyncFrameMilliseconds; + + public float PauseBetweenRooms; + + public bool RestrictDungeonToBounds; + + public Bounds TilePlacementBounds; + + public float OverlapThreshold; + + public float Padding; + + public bool DisallowOverhangs; + + public GameObject Root; + + public DungeonFlow DungeonFlow; + + protected int retryCount; + + protected DungeonProxy proxyDungeon; + + protected readonly Dictionary tilePlacementResultCounters; + + protected readonly List useableTiles; + + protected int targetLength; + + protected List tilesPendingInjection; + + protected List postProcessSteps; + + [SerializeField] + private int fileVersion; + + private int nextNodeIndex; + + private DungeonArchetype currentArchetype; + + private GraphLine previousLineSegment; + + private List preProcessData; + + private Stopwatch yieldTimer; + + private Dictionary injectedTiles; + + public RandomStream RandomStream + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + protected set + { + } + } + + public Vector3 UpVector => default(Vector3); + + public GenerationStatus Status + { + [CompilerGenerated] + get + { + return default(GenerationStatus); + } + [CompilerGenerated] + private set + { + } + } + + public GenerationStats GenerationStats + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public int ChosenSeed + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + protected set + { + } + } + + public Dungeon CurrentDungeon + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public bool IsGenerating + { + [CompilerGenerated] + get + { + return false; + } + [CompilerGenerated] + private set + { + } + } + + public bool IsAnalysis + { + [CompilerGenerated] + get + { + return false; + } + [CompilerGenerated] + set + { + } + } + + public event GenerationStatusDelegate OnGenerationStatusChanged + { + [CompilerGenerated] + add + { + } + [CompilerGenerated] + remove + { + } + } + + public static event GenerationStatusDelegate OnAnyDungeonGenerationStatusChanged + { + [CompilerGenerated] + add + { + } + [CompilerGenerated] + remove + { + } + } + + public event TileInjectionDelegate TileInjectionMethods + { + [CompilerGenerated] + add + { + } + [CompilerGenerated] + remove + { + } + } + + public event Action Cleared + { + [CompilerGenerated] + add + { + } + [CompilerGenerated] + remove + { + } + } + + public event Action Retrying + { + [CompilerGenerated] + add + { + } + [CompilerGenerated] + remove + { + } + } + + public DungeonGenerator() + { + } + + public DungeonGenerator(GameObject root) + { + } + + public void Generate() + { + } + + public void Cancel() + { + } + + public Dungeon DetachDungeon() + { + return null; + } + + [IteratorStateMachine(typeof(_003COuterGenerate_003Ed__91))] + protected virtual IEnumerator OuterGenerate() + { + return null; + } + + private Coroutine Wait(IEnumerator routine) + { + return null; + } + + public void RandomizeSeed() + { + } + + [IteratorStateMachine(typeof(_003CInnerGenerate_003Ed__94))] + protected virtual IEnumerator InnerGenerate(bool isRetry) + { + return null; + } + + private void PruneBranches() + { + } + + public virtual void Clear(bool stopCoroutines) + { + } + + private void ChangeStatus(GenerationStatus status) + { + } + + protected virtual void PreProcess() + { + } + + protected virtual void GatherTilesToInject() + { + } + + [IteratorStateMachine(typeof(_003CGenerateMainPath_003Ed__100))] + protected virtual IEnumerator GenerateMainPath() + { + return null; + } + + private bool ShouldSkipFrame(bool isRoomPlacement) + { + return false; + } + + private YieldInstruction GetRoomPause() + { + return null; + } + + [IteratorStateMachine(typeof(_003CGenerateBranchPaths_003Ed__103))] + protected virtual IEnumerator GenerateBranchPaths() + { + return null; + } + + protected virtual TileProxy AddTile(TileProxy attachTo, IEnumerable useableTileSets, float normalizedDepth, DungeonArchetype archetype, TilePlacementResult result = TilePlacementResult.None) + { + return null; + } + + protected void AddTilePlacementResult(TilePlacementResult result) + { + } + + protected TilePlacementResult TryPlaceTile(DoorwayPair pair, DungeonArchetype archetype, out TileProxy tile) + { + tile = null; + return default(TilePlacementResult); + } + + protected TileProxy GetTileTemplate(GameObject prefab) + { + return null; + } + + protected TileProxy PickRandomTemplate(DoorwaySocket socketGroupFilter) + { + return null; + } + + protected int NormalizedDepthToIndex(float normalizedDepth) + { + return 0; + } + + protected float IndexToNormalizedDepth(int index) + { + return 0f; + } + + protected bool IsCollidingWithAnyTile(TileProxy newTile, TileProxy previousTile) + { + return false; + } + + public void RegisterPostProcessStep(Action postProcessCallback, int priority = 0, PostProcessPhase phase = PostProcessPhase.AfterBuiltIn) + { + } + + public void UnregisterPostProcessStep(Action postProcessCallback) + { + } + + [IteratorStateMachine(typeof(_003CPostProcess_003Ed__114))] + protected virtual IEnumerator PostProcess() + { + return null; + } + + protected void ProcessProps(Tile tile, GameObject root) + { + } + + protected virtual void ProcessGlobalProps() + { + } + + protected virtual void PlaceLocksAndKeys() + { + } + + protected virtual void LockDoorway(Doorway doorway, Key key, KeyManager keyManager) + { + } + + public void OnBeforeSerialize() + { + } + + public void OnAfterDeserialize() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGenerator.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGenerator.cs.meta new file mode 100644 index 0000000..2d01b5f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGenerator.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 12ba7ddcc9b75ca27ddeb26755e71a5e +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGeneratorPostProcessStep.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGeneratorPostProcessStep.cs new file mode 100644 index 0000000..2f3f316 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGeneratorPostProcessStep.cs @@ -0,0 +1,13 @@ +using System; + +namespace DunGen +{ + public struct DungeonGeneratorPostProcessStep + { + public Action PostProcessCallback; + + public PostProcessPhase Phase; + + public int Priority; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGeneratorPostProcessStep.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGeneratorPostProcessStep.cs.meta new file mode 100644 index 0000000..ad04e38 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGeneratorPostProcessStep.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 71b07c1d8b11df09b041a5ff0aa0ba29 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraph.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraph.cs new file mode 100644 index 0000000..bad9df8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraph.cs @@ -0,0 +1,15 @@ +using System.Collections.Generic; + +namespace DunGen +{ + public class DungeonGraph + { + public readonly List Nodes; + + public readonly List Connections; + + public DungeonGraph(Dungeon dungeon) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraph.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraph.cs.meta new file mode 100644 index 0000000..1ecaa5a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraph.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: cc0de71bdd06c0d43f1f7e8d27c0bdb9 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphConnection.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphConnection.cs new file mode 100644 index 0000000..29a7d72 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphConnection.cs @@ -0,0 +1,63 @@ +using System.Runtime.CompilerServices; + +namespace DunGen +{ + public sealed class DungeonGraphConnection : DungeonGraphObject + { + public DungeonGraphNode A + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public DungeonGraphNode B + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public Doorway DoorwayA + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public Doorway DoorwayB + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public DungeonGraphConnection(DungeonGraphNode a, DungeonGraphNode b, Doorway doorwayA, Doorway doorwayB) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphConnection.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphConnection.cs.meta new file mode 100644 index 0000000..2d222c9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphConnection.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2a5e9aa2c1828b6a1276ee6bb4bbd650 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphNode.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphNode.cs new file mode 100644 index 0000000..2ba7f20 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphNode.cs @@ -0,0 +1,31 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; + +namespace DunGen +{ + public sealed class DungeonGraphNode : DungeonGraphObject + { + public List Connections; + + public Tile Tile + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public DungeonGraphNode(Tile tile) + { + } + + internal void AddConnection(DungeonGraphConnection connection) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphNode.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphNode.cs.meta new file mode 100644 index 0000000..024e740 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphNode.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a2c4642b693e22b34e390586137d51a9 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphObject.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphObject.cs new file mode 100644 index 0000000..5e200cd --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphObject.cs @@ -0,0 +1,6 @@ +namespace DunGen +{ + public abstract class DungeonGraphObject + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphObject.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphObject.cs.meta new file mode 100644 index 0000000..6ebf8ba --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonGraphObject.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 797f225c9d337e25e9774ff6e99282ee +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonProxy.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonProxy.cs new file mode 100644 index 0000000..9714760 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonProxy.cs @@ -0,0 +1,53 @@ +using System.Collections.Generic; +using DunGen.Graph; +using UnityEngine; + +namespace DunGen +{ + public sealed class DungeonProxy + { + public List AllTiles; + + public List MainPathTiles; + + public List BranchPathTiles; + + public List Connections; + + private Transform visualsRoot; + + private Dictionary tileVisuals; + + public DungeonProxy(Transform debugVisualsRoot = null) + { + } + + public void ClearDebugVisuals() + { + } + + public void MakeConnection(DoorwayProxy a, DoorwayProxy b) + { + } + + public void RemoveLastConnection() + { + } + + public void RemoveConnection(ProxyDoorwayConnection connection) + { + } + + internal void AddTile(TileProxy tile) + { + } + + internal void RemoveTile(TileProxy tile) + { + } + + internal void ConnectOverlappingDoorways(float globalChance, DungeonFlow dungeonFlow, RandomStream randomStream) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonProxy.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonProxy.cs.meta new file mode 100644 index 0000000..021bc46 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonProxy.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 15187589a64efd38112b8a7f57a282ec +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonUtil.cs b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonUtil.cs new file mode 100644 index 0000000..dcf3eb9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonUtil.cs @@ -0,0 +1,22 @@ +using System.Collections.Generic; +using UnityEngine; + +namespace DunGen +{ + public static class DungeonUtil + { + public static void AddAndSetupDoorComponent(Dungeon dungeon, GameObject doorPrefab, Doorway doorway) + { + } + + public static bool HasAnyViableEntries(this List weights) + { + return false; + } + + public static GameObject GetRandom(this List weights, RandomStream randomStream) + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/DungeonUtil.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonUtil.cs.meta new file mode 100644 index 0000000..1d4bc0f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/DungeonUtil.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 072885dabe461f3897ed01a39b77a1de +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Editor.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Editor.meta new file mode 100644 index 0000000..163ee8b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Editor.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 7984d8d93b972724f9a599aca5d13cf9 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Editor/RuntimeAnalyzer.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Editor/RuntimeAnalyzer.cs new file mode 100644 index 0000000..ac89ef2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Editor/RuntimeAnalyzer.cs @@ -0,0 +1,70 @@ +using System.Diagnostics; +using System.Text; +using DunGen.Analysis; +using DunGen.Graph; +using UnityEngine; + +namespace DunGen.Editor +{ + [AddComponentMenu("DunGen/Analysis/Runtime Analyzer")] + public sealed class RuntimeAnalyzer : MonoBehaviour + { + public DungeonFlow DungeonFlow; + + public int Iterations; + + public int MaxFailedAttempts; + + public bool RunOnStart; + + public float MaximumAnalysisTime; + + private DungeonGenerator generator; + + private GenerationAnalysis analysis; + + private StringBuilder infoText; + + private bool finishedEarly; + + private bool prevShouldRandomizeSeed; + + private int targetIterations; + + private int remainingIterations; + + private Stopwatch analysisTime; + + private bool generateNextFrame; + + private int currentIterations => 0; + + private void Start() + { + } + + public void Analyze() + { + } + + private void Update() + { + } + + private void CompleteAnalysis() + { + } + + private void OnGenerationStatusChanged(DungeonGenerator generator, GenerationStatus status) + { + } + + private void OnAnalysisComplete() + { + } + + private void OnGUI() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Editor/RuntimeAnalyzer.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Editor/RuntimeAnalyzer.cs.meta new file mode 100644 index 0000000..7d41eba --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Editor/RuntimeAnalyzer.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 221856e300bbcbb98916622090b68af6 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/EditorConstants.cs b/Assets/Scripts/Assembly-CSharp/DunGen/EditorConstants.cs new file mode 100644 index 0000000..ad6f09c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/EditorConstants.cs @@ -0,0 +1,13 @@ +using UnityEngine; + +namespace DunGen +{ + public static class EditorConstants + { + public static readonly Color DoorRectColour; + + public static readonly Color DoorDirectionColour; + + public static readonly Color DoorUpColour; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/EditorConstants.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/EditorConstants.cs.meta new file mode 100644 index 0000000..6fee99c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/EditorConstants.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: de2d7138b260cd84717bbbce68bef777 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/FloatRange.cs b/Assets/Scripts/Assembly-CSharp/DunGen/FloatRange.cs new file mode 100644 index 0000000..6d2706d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/FloatRange.cs @@ -0,0 +1,25 @@ +using System; + +namespace DunGen +{ + [Serializable] + public class FloatRange + { + public float Min; + + public float Max; + + public FloatRange() + { + } + + public FloatRange(float min, float max) + { + } + + public float GetRandom(RandomStream random) + { + return 0f; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/FloatRange.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/FloatRange.cs.meta new file mode 100644 index 0000000..aa2d85c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/FloatRange.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 73acd99729c8fff44a3f6727473a0302 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectChance.cs b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectChance.cs new file mode 100644 index 0000000..d69f3ee --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectChance.cs @@ -0,0 +1,36 @@ +using System; +using UnityEngine; + +namespace DunGen +{ + [Serializable] + public sealed class GameObjectChance + { + public GameObject Value; + + public float MainPathWeight; + + public float BranchPathWeight; + + public AnimationCurve DepthWeightScale; + + public TileSet TileSet; + + public GameObjectChance() + { + } + + public GameObjectChance(GameObject value) + { + } + + public GameObjectChance(GameObject value, float mainPathWeight, float branchPathWeight, TileSet tileSet) + { + } + + public float GetWeight(bool isOnMainPath, float normalizedDepth) + { + return 0f; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectChance.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectChance.cs.meta new file mode 100644 index 0000000..c787eff --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectChance.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 91d2a9a872eeb6c489a057d1e1daa924 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectChanceTable.cs b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectChanceTable.cs new file mode 100644 index 0000000..7486bf4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectChanceTable.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using UnityEngine; + +namespace DunGen +{ + [Serializable] + public class GameObjectChanceTable + { + public List Weights; + + public GameObjectChanceTable Clone() + { + return null; + } + + public bool ContainsGameObject(GameObject obj) + { + return false; + } + + public GameObjectChance GetRandom(RandomStream random, bool isOnMainPath, float normalizedDepth, GameObject previouslyChosen, bool allowImmediateRepeats, bool removeFromTable = false) + { + return null; + } + + public static GameObject GetCombinedRandom(RandomStream random, bool isOnMainPath, float normalizedDepth, params GameObjectChanceTable[] tables) + { + return null; + } + + public static GameObjectChanceTable Combine(params GameObjectChanceTable[] tables) + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectChanceTable.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectChanceTable.cs.meta new file mode 100644 index 0000000..b2090df --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectChanceTable.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: ec21e6fc7f70d8f48da31335a1636c92 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectFilter.cs b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectFilter.cs new file mode 100644 index 0000000..1625fbd --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectFilter.cs @@ -0,0 +1,9 @@ +namespace DunGen +{ + public enum GameObjectFilter + { + Scene = 1, + Asset = 2, + All = 3 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectFilter.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectFilter.cs.meta new file mode 100644 index 0000000..bb7083c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectFilter.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 054e065147a084f4c9eec55d9675042b +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectWeight.cs b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectWeight.cs new file mode 100644 index 0000000..c3c4318 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectWeight.cs @@ -0,0 +1,21 @@ +using System; +using UnityEngine; + +namespace DunGen +{ + [Serializable] + public sealed class GameObjectWeight + { + public GameObject GameObject; + + public float Weight; + + public GameObjectWeight() + { + } + + public GameObjectWeight(GameObject gameObject, float weight = 1f) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectWeight.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectWeight.cs.meta new file mode 100644 index 0000000..5a07b23 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GameObjectWeight.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 32f10716e5a50061b191b34cee964dae +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStats.cs b/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStats.cs new file mode 100644 index 0000000..f0e6ed2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStats.cs @@ -0,0 +1,180 @@ +using System.Diagnostics; +using System.Runtime.CompilerServices; + +namespace DunGen +{ + public sealed class GenerationStats + { + private Stopwatch stopwatch; + + private GenerationStatus generationStatus; + + public int MainPathRoomCount + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + private set + { + } + } + + public int BranchPathRoomCount + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + private set + { + } + } + + public int TotalRoomCount + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + private set + { + } + } + + public int MaxBranchDepth + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + private set + { + } + } + + public int TotalRetries + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + private set + { + } + } + + public int PrunedBranchTileCount + { + [CompilerGenerated] + get + { + return 0; + } + [CompilerGenerated] + internal set + { + } + } + + public float PreProcessTime + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public float MainPathGenerationTime + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public float BranchPathGenerationTime + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public float PostProcessTime + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + public float TotalTime + { + [CompilerGenerated] + get + { + return 0f; + } + [CompilerGenerated] + private set + { + } + } + + internal void Clear() + { + } + + internal void IncrementRetryCount() + { + } + + internal void SetRoomStatistics(int mainPathRoomCount, int branchPathRoomCount, int maxBranchDepth) + { + } + + internal void BeginTime(GenerationStatus status) + { + } + + internal void EndTime() + { + } + + public GenerationStats Clone() + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStats.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStats.cs.meta new file mode 100644 index 0000000..23fc54d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStats.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2b559b56c1157f3d795ce5214b5c697a +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStatus.cs b/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStatus.cs new file mode 100644 index 0000000..02683cc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStatus.cs @@ -0,0 +1,14 @@ +namespace DunGen +{ + public enum GenerationStatus + { + NotStarted = 0, + PreProcessing = 1, + TileInjection = 2, + MainPath = 3, + Branching = 4, + PostProcessing = 5, + Complete = 6, + Failed = 7 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStatus.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStatus.cs.meta new file mode 100644 index 0000000..e611538 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStatus.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 175b08774aa8f3842924b5de7ed12abd +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStatusDelegate.cs b/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStatusDelegate.cs new file mode 100644 index 0000000..90f4d31 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStatusDelegate.cs @@ -0,0 +1,4 @@ +namespace DunGen +{ + public delegate void GenerationStatusDelegate(DungeonGenerator generator, GenerationStatus status); +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStatusDelegate.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStatusDelegate.cs.meta new file mode 100644 index 0000000..00d5689 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GenerationStatusDelegate.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e98b8607b08b1a44f9a9fe67baa6d2e5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GetPropCountDelegate.cs b/Assets/Scripts/Assembly-CSharp/DunGen/GetPropCountDelegate.cs new file mode 100644 index 0000000..03c0c36 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GetPropCountDelegate.cs @@ -0,0 +1,4 @@ +namespace DunGen +{ + public delegate int GetPropCountDelegate(LocalPropSet propSet, RandomStream randomStream, Tile tile); +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GetPropCountDelegate.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/GetPropCountDelegate.cs.meta new file mode 100644 index 0000000..6afa532 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GetPropCountDelegate.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: e3fa4a184d4aa8e4787e4451f4ae9470 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GetTileTemplateDelegate.cs b/Assets/Scripts/Assembly-CSharp/DunGen/GetTileTemplateDelegate.cs new file mode 100644 index 0000000..f5bdc36 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GetTileTemplateDelegate.cs @@ -0,0 +1,6 @@ +using UnityEngine; + +namespace DunGen +{ + public delegate TileProxy GetTileTemplateDelegate(GameObject prefab); +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GetTileTemplateDelegate.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/GetTileTemplateDelegate.cs.meta new file mode 100644 index 0000000..56eea55 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GetTileTemplateDelegate.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: aac76449b7e81ee48b4bc1ced00b4680 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GlobalProp.cs b/Assets/Scripts/Assembly-CSharp/DunGen/GlobalProp.cs new file mode 100644 index 0000000..7e3a7da --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GlobalProp.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +namespace DunGen +{ + [AddComponentMenu("DunGen/Random Props/Global Prop")] + public class GlobalProp : MonoBehaviour + { + public int PropGroupID; + + public float MainPathWeight; + + public float BranchPathWeight; + + public AnimationCurve DepthWeightScale; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/GlobalProp.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/GlobalProp.cs.meta new file mode 100644 index 0000000..3daa985 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/GlobalProp.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 3082d2a57f1d60917000af0bdeb85ea8 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Graph.meta new file mode 100644 index 0000000..4b11b4e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f12b2f45dd7852849b8f30e5ae1a8e28 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/DungeonFlow.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/DungeonFlow.cs new file mode 100644 index 0000000..c7f79f5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/DungeonFlow.cs @@ -0,0 +1,130 @@ +using System; +using System.Collections.Generic; +using DunGen.Tags; +using UnityEngine; +using UnityEngine.Serialization; + +namespace DunGen.Graph +{ + [Serializable] + [CreateAssetMenu(fileName = "New Dungeon", menuName = "DunGen/Dungeon Flow", order = 700)] + public class DungeonFlow : ScriptableObject, ISerializationCallbackReceiver + { + [Serializable] + public sealed class GlobalPropSettings + { + public int ID; + + public IntRange Count; + + public GlobalPropSettings() + { + } + + public GlobalPropSettings(int id, IntRange count) + { + } + } + + public enum TagConnectionMode + { + Accept = 0, + Reject = 1 + } + + public enum BranchPruneMode + { + AnyTagPresent = 0, + AllTagsMissing = 1 + } + + public const int FileVersion = 1; + + [SerializeField] + [FormerlySerializedAs("GlobalPropGroupIDs")] + private List globalPropGroupID_obsolete; + + [SerializeField] + [FormerlySerializedAs("GlobalPropRanges")] + private List globalPropRanges_obsolete; + + public IntRange Length; + + public BranchMode BranchMode; + + public IntRange BranchCount; + + public List GlobalProps; + + public KeyManager KeyManager; + + [Range(0f, 1f)] + public float DoorwayConnectionChance; + + public bool RestrictConnectionToSameSection; + + public List TileInjectionRules; + + public TagConnectionMode TileTagConnectionMode; + + public List TileConnectionTags; + + public BranchPruneMode BranchTagPruneMode; + + public List BranchPruneTags; + + public List Nodes; + + public List Lines; + + [SerializeField] + private int currentFileVersion; + + public void Reset() + { + } + + public GraphLine GetLineAtDepth(float normalizedDepth) + { + return null; + } + + public DungeonArchetype[] GetUsedArchetypes() + { + return null; + } + + public TileSet[] GetUsedTileSets() + { + return null; + } + + public bool ShouldPruneTileWithTags(TagContainer tileTags) + { + return false; + } + + public void OnBeforeSerialize() + { + } + + public void OnAfterDeserialize() + { + } + + public bool CanTilesConnect(Tile tileA, Tile tileB) + { + return false; + } + + public bool CanDoorwaysConnect(Tile tileA, Tile tileB, Doorway doorwayA, Doorway doorwayB) + { + return false; + } + + private bool HasMatchingTagPair(Tile tileA, Tile tileB) + { + return false; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/DungeonFlow.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/DungeonFlow.cs.meta new file mode 100644 index 0000000..73d0ed4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/DungeonFlow.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 4db49fbfafad761d8436b6a817dbed3d +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/DungeonFlowBuilder.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/DungeonFlowBuilder.cs new file mode 100644 index 0000000..edaf605 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/DungeonFlowBuilder.cs @@ -0,0 +1,61 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; + +namespace DunGen.Graph +{ + public sealed class DungeonFlowBuilder + { + private List lines; + + private List nodes; + + private float currentPosition; + + public DungeonFlow Flow + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public DungeonFlowBuilder(DungeonFlow flow) + { + } + + public DungeonFlowBuilder AddLine(DungeonArchetype archetype, float length = 1f, IEnumerable locks = null, IEnumerable keys = null) + { + return null; + } + + public DungeonFlowBuilder AddLine(IEnumerable archetypes, float length = 1f, IEnumerable locks = null, IEnumerable keys = null) + { + return null; + } + + public DungeonFlowBuilder ContinueLine(float length = 1f) + { + return null; + } + + public DungeonFlowBuilder AddNode(TileSet tileSet, string label = null, bool allowLocksOnEntrance = false, bool allowLocksOnExit = false, IEnumerable locks = null, IEnumerable keys = null) + { + return null; + } + + public DungeonFlowBuilder AddNode(IEnumerable tileSets, string label = null, bool allowLocksOnEntrance = false, bool allowLocksOnExit = false, IEnumerable locks = null, IEnumerable keys = null) + { + return null; + } + + public DungeonFlowBuilder Complete() + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/DungeonFlowBuilder.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/DungeonFlowBuilder.cs.meta new file mode 100644 index 0000000..e2e2627 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/DungeonFlowBuilder.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: e72a7d672f03c3316d74d5c697b21318 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowGraphObjectReference.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowGraphObjectReference.cs new file mode 100644 index 0000000..40dc15a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowGraphObjectReference.cs @@ -0,0 +1,17 @@ +using System; +using UnityEngine; + +namespace DunGen.Graph +{ + [Serializable] + public abstract class FlowGraphObjectReference + { + [SerializeField] + protected DungeonFlow flow; + + [SerializeField] + protected int index; + + public DungeonFlow Flow => null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowGraphObjectReference.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowGraphObjectReference.cs.meta new file mode 100644 index 0000000..7ac6b59 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowGraphObjectReference.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: bfc525ab7058f7e56717417f9801a7e4 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowLineReference.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowLineReference.cs new file mode 100644 index 0000000..8c057ad --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowLineReference.cs @@ -0,0 +1,23 @@ +using System; + +namespace DunGen.Graph +{ + [Serializable] + public sealed class FlowLineReference : FlowGraphObjectReference + { + public GraphLine Line + { + get + { + return null; + } + set + { + } + } + + public FlowLineReference(DungeonFlow flowGraph, GraphLine line) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowLineReference.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowLineReference.cs.meta new file mode 100644 index 0000000..eb54f09 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowLineReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 78adc08dd1e6995499ca1a027dbcacce +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowNodeReference.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowNodeReference.cs new file mode 100644 index 0000000..d57cf2c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowNodeReference.cs @@ -0,0 +1,23 @@ +using System; + +namespace DunGen.Graph +{ + [Serializable] + public sealed class FlowNodeReference : FlowGraphObjectReference + { + public GraphNode Node + { + get + { + return null; + } + set + { + } + } + + public FlowNodeReference(DungeonFlow flowGraph, GraphNode node) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowNodeReference.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowNodeReference.cs.meta new file mode 100644 index 0000000..d19ed08 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/FlowNodeReference.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d11b8ca7bffb2ab409ec38e904c20b38 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/GraphLine.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/GraphLine.cs new file mode 100644 index 0000000..e6184c3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/GraphLine.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; + +namespace DunGen.Graph +{ + [Serializable] + public class GraphLine + { + public DungeonFlow Graph; + + public List DungeonArchetypes; + + public float Position; + + public float Length; + + public List Keys; + + public List Locks; + + public GraphLine(DungeonFlow graph) + { + } + + public DungeonArchetype GetRandomArchetype(RandomStream randomStream, IList usedArchetypes) + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/GraphLine.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/GraphLine.cs.meta new file mode 100644 index 0000000..b468832 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/GraphLine.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 134d2a4f2c0bfcc261702ff554309b80 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/GraphNode.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/GraphNode.cs new file mode 100644 index 0000000..53f3049 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/GraphNode.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; + +namespace DunGen.Graph +{ + [Serializable] + public class GraphNode + { + public DungeonFlow Graph; + + public List TileSets; + + public NodeType NodeType; + + public float Position; + + public string Label; + + public List Keys; + + public List Locks; + + public NodeLockPlacement LockPlacement; + + public GraphNode(DungeonFlow graph) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/GraphNode.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/GraphNode.cs.meta new file mode 100644 index 0000000..246d897 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/GraphNode.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 3162e6947038481cd0b2722253c52096 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/NodeType.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/NodeType.cs new file mode 100644 index 0000000..2c47310 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/NodeType.cs @@ -0,0 +1,9 @@ +namespace DunGen.Graph +{ + public enum NodeType + { + Normal = 0, + Start = 1, + Goal = 2 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Graph/NodeType.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/NodeType.cs.meta new file mode 100644 index 0000000..1ee6022 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Graph/NodeType.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0002af337a8f92b48ac9ce09c2a932e6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/IDungeonCompleteReceiver.cs b/Assets/Scripts/Assembly-CSharp/DunGen/IDungeonCompleteReceiver.cs new file mode 100644 index 0000000..0e5f04a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/IDungeonCompleteReceiver.cs @@ -0,0 +1,7 @@ +namespace DunGen +{ + public interface IDungeonCompleteReceiver + { + void OnDungeonComplete(Dungeon dungeon); + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/IDungeonCompleteReceiver.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/IDungeonCompleteReceiver.cs.meta new file mode 100644 index 0000000..4433be8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/IDungeonCompleteReceiver.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 58c059e7afc9e5f1f967da0f4ca726b6 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/IKeyLock.cs b/Assets/Scripts/Assembly-CSharp/DunGen/IKeyLock.cs new file mode 100644 index 0000000..e94821c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/IKeyLock.cs @@ -0,0 +1,7 @@ +namespace DunGen +{ + public interface IKeyLock + { + void OnKeyAssigned(Key key, KeyManager manager); + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/IKeyLock.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/IKeyLock.cs.meta new file mode 100644 index 0000000..362ef78 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/IKeyLock.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a69d70d7c1b425f59f8a50359f404074 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/IKeySpawnable.cs b/Assets/Scripts/Assembly-CSharp/DunGen/IKeySpawnable.cs new file mode 100644 index 0000000..b3810e1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/IKeySpawnable.cs @@ -0,0 +1,7 @@ +namespace DunGen +{ + public interface IKeySpawnable + { + void SpawnKey(Key key, KeyManager manager); + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/IKeySpawnable.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/IKeySpawnable.cs.meta new file mode 100644 index 0000000..a99616f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/IKeySpawnable.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 62253c7428696217133c4857f2525d0e +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/InjectedTile.cs b/Assets/Scripts/Assembly-CSharp/DunGen/InjectedTile.cs new file mode 100644 index 0000000..d52bd31 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/InjectedTile.cs @@ -0,0 +1,36 @@ +using UnityEngine; + +namespace DunGen +{ + public sealed class InjectedTile + { + public TileSet TileSet; + + public float NormalizedPathDepth; + + public float NormalizedBranchDepth; + + public bool IsOnMainPath; + + public bool IsRequired; + + public bool IsLocked; + + public int LockID; + + public GameObject LockedDoorPrefab; + + public InjectedTile(TileSet tileSet, bool isOnMainPath, float normalizedPathDepth, float normalizedBranchDepth, bool isRequired = false) + { + } + + public InjectedTile(TileInjectionRule rule, bool isOnMainPath, RandomStream randomStream) + { + } + + public bool ShouldInjectTileAtPoint(bool isOnMainPath, float pathDepth, float branchDepth) + { + return false; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/InjectedTile.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/InjectedTile.cs.meta new file mode 100644 index 0000000..1097f1d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/InjectedTile.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: cad3e4d730fd9dbff9fb76de36230b68 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/IntRange.cs b/Assets/Scripts/Assembly-CSharp/DunGen/IntRange.cs new file mode 100644 index 0000000..ecac670 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/IntRange.cs @@ -0,0 +1,30 @@ +using System; + +namespace DunGen +{ + [Serializable] + public class IntRange + { + public int Min; + + public int Max; + + public IntRange() + { + } + + public IntRange(int min, int max) + { + } + + public int GetRandom(RandomStream random) + { + return 0; + } + + public override string ToString() + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/IntRange.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/IntRange.cs.meta new file mode 100644 index 0000000..3579376 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/IntRange.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: ea2ae477952f441758d8f54e5bfc3f07 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Key.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Key.cs new file mode 100644 index 0000000..c50bde0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Key.cs @@ -0,0 +1,47 @@ +using System; +using UnityEngine; + +namespace DunGen +{ + [Serializable] + public sealed class Key + { + public GameObject Prefab; + + public Color Colour; + + public IntRange KeysPerLock; + + [SerializeField] + private int id; + + [SerializeField] + private string name; + + public int ID + { + get + { + return 0; + } + set + { + } + } + + public string Name + { + get + { + return null; + } + internal set + { + } + } + + internal Key(int id) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Key.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Key.cs.meta new file mode 100644 index 0000000..8e1307c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Key.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 8e495f90a450b258bffed412d96eb471 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/KeyLockPlacement.cs b/Assets/Scripts/Assembly-CSharp/DunGen/KeyLockPlacement.cs new file mode 100644 index 0000000..8a53b29 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/KeyLockPlacement.cs @@ -0,0 +1,12 @@ +using System; + +namespace DunGen +{ + [Serializable] + public sealed class KeyLockPlacement + { + public int ID; + + public IntRange Range; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/KeyLockPlacement.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/KeyLockPlacement.cs.meta new file mode 100644 index 0000000..5b6566e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/KeyLockPlacement.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: efdaba34e7028d2804eec359d713d99d +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/KeyManager.cs b/Assets/Scripts/Assembly-CSharp/DunGen/KeyManager.cs new file mode 100644 index 0000000..f273a2e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/KeyManager.cs @@ -0,0 +1,48 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using UnityEngine; + +namespace DunGen +{ + [Serializable] + [CreateAssetMenu(menuName = "DunGen/Key Manager", order = 700)] + public sealed class KeyManager : ScriptableObject + { + private ReadOnlyCollection keysReadOnly; + + [SerializeField] + private List keys; + + public ReadOnlyCollection Keys => null; + + public Key CreateKey() + { + return null; + } + + public void DeleteKey(int index) + { + } + + public Key GetKeyByID(int id) + { + return null; + } + + public Key GetKeyByName(string name) + { + return null; + } + + public bool RenameKey(int index, string newName) + { + return false; + } + + private int GetNextAvailableID() + { + return 0; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/KeyManager.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/KeyManager.cs.meta new file mode 100644 index 0000000..dcb9b3e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/KeyManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a90798392c34e2efcff72d2029727eb6 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/LocalPropSet.cs b/Assets/Scripts/Assembly-CSharp/DunGen/LocalPropSet.cs new file mode 100644 index 0000000..a3dea77 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/LocalPropSet.cs @@ -0,0 +1,43 @@ +using System.Collections.Generic; +using UnityEngine; + +namespace DunGen +{ + [AddComponentMenu("DunGen/Random Props/Local Prop Set")] + public class LocalPropSet : RandomProp + { + private static readonly Dictionary GetCountMethods; + + [AcceptGameObjectTypes(GameObjectFilter.Scene)] + public GameObjectChanceTable Props; + + public IntRange PropCount; + + public LocalPropSetCountMode CountMode; + + public AnimationCurve CountDepthCurve; + + public override void Process(RandomStream randomStream, Tile tile) + { + } + + static LocalPropSet() + { + } + + private static int GetCountRandom(LocalPropSet propSet, RandomStream randomStream, Tile tile) + { + return 0; + } + + private static int GetCountDepthBased(LocalPropSet propSet, RandomStream randomStream, Tile tile) + { + return 0; + } + + private static int GetCountDepthMultiply(LocalPropSet propSet, RandomStream randomStream, Tile tile) + { + return 0; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/LocalPropSet.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/LocalPropSet.cs.meta new file mode 100644 index 0000000..5bfab7f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/LocalPropSet.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: e287aa47693a4f67de75066c5bddc2ed +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/LocalPropSetCountMode.cs b/Assets/Scripts/Assembly-CSharp/DunGen/LocalPropSetCountMode.cs new file mode 100644 index 0000000..122509a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/LocalPropSetCountMode.cs @@ -0,0 +1,9 @@ +namespace DunGen +{ + public enum LocalPropSetCountMode + { + Random = 0, + DepthBased = 1, + DepthMultiply = 2 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/LocalPropSetCountMode.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/LocalPropSetCountMode.cs.meta new file mode 100644 index 0000000..b7f8e3f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/LocalPropSetCountMode.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ed785ee3980663845b23ebbb4ecfb61d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/LockedDoorwayAssociation.cs b/Assets/Scripts/Assembly-CSharp/DunGen/LockedDoorwayAssociation.cs new file mode 100644 index 0000000..a663971 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/LockedDoorwayAssociation.cs @@ -0,0 +1,12 @@ +using System; + +namespace DunGen +{ + [Serializable] + public sealed class LockedDoorwayAssociation + { + public DoorwaySocket Socket; + + public GameObjectChanceTable LockPrefabs; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/LockedDoorwayAssociation.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/LockedDoorwayAssociation.cs.meta new file mode 100644 index 0000000..9e6468d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/LockedDoorwayAssociation.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: ea3c30fda60d9a2572b83789b3cf81e4 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/NodeLockPlacement.cs b/Assets/Scripts/Assembly-CSharp/DunGen/NodeLockPlacement.cs new file mode 100644 index 0000000..3fd44dc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/NodeLockPlacement.cs @@ -0,0 +1,11 @@ +using System; + +namespace DunGen +{ + [Flags] + public enum NodeLockPlacement + { + Entrance = 1, + Exit = 2 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/NodeLockPlacement.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/NodeLockPlacement.cs.meta new file mode 100644 index 0000000..8eefc04 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/NodeLockPlacement.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4e364fdcee519734cbf63d4b6a24fbe6 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/NumberUtil.cs b/Assets/Scripts/Assembly-CSharp/DunGen/NumberUtil.cs new file mode 100644 index 0000000..ed39cd4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/NumberUtil.cs @@ -0,0 +1,10 @@ +namespace DunGen +{ + public static class NumberUtil + { + public static float ClampToNearest(float value, params float[] possibleValues) + { + return 0f; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/NumberUtil.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/NumberUtil.cs.meta new file mode 100644 index 0000000..d000e90 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/NumberUtil.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 26c79cd5a84d6d61448ad7771059d79f +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/PostProcessPhase.cs b/Assets/Scripts/Assembly-CSharp/DunGen/PostProcessPhase.cs new file mode 100644 index 0000000..4abb76b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/PostProcessPhase.cs @@ -0,0 +1,8 @@ +namespace DunGen +{ + public enum PostProcessPhase + { + BeforeBuiltIn = 0, + AfterBuiltIn = 1 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/PostProcessPhase.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/PostProcessPhase.cs.meta new file mode 100644 index 0000000..f0108c0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/PostProcessPhase.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7f3c1b866dc7aa4468950709c8e04382 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/ProxyDoorwayConnection.cs b/Assets/Scripts/Assembly-CSharp/DunGen/ProxyDoorwayConnection.cs new file mode 100644 index 0000000..cfa4f4a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/ProxyDoorwayConnection.cs @@ -0,0 +1,33 @@ +using System.Runtime.CompilerServices; + +namespace DunGen +{ + public struct ProxyDoorwayConnection + { + public DoorwayProxy A + { + [CompilerGenerated] + readonly get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public DoorwayProxy B + { + [CompilerGenerated] + readonly get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/ProxyDoorwayConnection.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/ProxyDoorwayConnection.cs.meta new file mode 100644 index 0000000..5de33be --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/ProxyDoorwayConnection.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a142e1f378b8f8b439932b753fa99fb1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/RandomPrefab.cs b/Assets/Scripts/Assembly-CSharp/DunGen/RandomPrefab.cs new file mode 100644 index 0000000..1fb2711 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/RandomPrefab.cs @@ -0,0 +1,19 @@ +using UnityEngine; + +namespace DunGen +{ + [AddComponentMenu("DunGen/Random Props/Random Prefab")] + public class RandomPrefab : RandomProp + { + [AcceptGameObjectTypes(GameObjectFilter.Asset)] + public GameObjectChanceTable Props; + + public bool ZeroPosition; + + public bool ZeroRotation; + + public override void Process(RandomStream randomStream, Tile tile) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/RandomPrefab.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/RandomPrefab.cs.meta new file mode 100644 index 0000000..def2cf6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/RandomPrefab.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 9f90e10bd9702f7499d9b46a065d8faa +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/RandomProp.cs b/Assets/Scripts/Assembly-CSharp/DunGen/RandomProp.cs new file mode 100644 index 0000000..ba415ef --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/RandomProp.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace DunGen +{ + public abstract class RandomProp : MonoBehaviour + { + public virtual void Process(RandomStream randomStream, Tile tile) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/RandomProp.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/RandomProp.cs.meta new file mode 100644 index 0000000..4d19950 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/RandomProp.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 194d43519441f828da580bd51dda1305 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/RandomStream.cs b/Assets/Scripts/Assembly-CSharp/DunGen/RandomStream.cs new file mode 100644 index 0000000..06a3969 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/RandomStream.cs @@ -0,0 +1,62 @@ +namespace DunGen +{ + public sealed class RandomStream + { + private const int maxValue = int.MaxValue; + + private const int seed = 161803398; + + private int iNext; + + private int iNextP; + + private int[] seedArray; + + public RandomStream() + { + } + + public RandomStream(int Seed) + { + } + + private double Sample() + { + return 0.0; + } + + private int InternalSample() + { + return 0; + } + + public int Next() + { + return 0; + } + + private double GetSampleForLargeRange() + { + return 0.0; + } + + public int Next(int minValue, int maxValue) + { + return 0; + } + + public int Next(int maxValue) + { + return 0; + } + + public double NextDouble() + { + return 0.0; + } + + public void NextBytes(byte[] buffer) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/RandomStream.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/RandomStream.cs.meta new file mode 100644 index 0000000..965b5d0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/RandomStream.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 38daa1d790e5c59013c8896ef2ba1f37 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/RuntimeDungeon.cs b/Assets/Scripts/Assembly-CSharp/DunGen/RuntimeDungeon.cs new file mode 100644 index 0000000..8e4474b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/RuntimeDungeon.cs @@ -0,0 +1,22 @@ +using UnityEngine; + +namespace DunGen +{ + [AddComponentMenu("DunGen/Runtime Dungeon")] + public class RuntimeDungeon : MonoBehaviour + { + public DungeonGenerator Generator; + + public bool GenerateOnStart; + + public GameObject Root; + + protected virtual void Start() + { + } + + public void Generate() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/RuntimeDungeon.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/RuntimeDungeon.cs.meta new file mode 100644 index 0000000..18bb4bd --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/RuntimeDungeon.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 6a80ba20a441474c3594629ca2cab613 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/SocketConnectionDelegate.cs b/Assets/Scripts/Assembly-CSharp/DunGen/SocketConnectionDelegate.cs new file mode 100644 index 0000000..d90071e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/SocketConnectionDelegate.cs @@ -0,0 +1,4 @@ +namespace DunGen +{ + public delegate bool SocketConnectionDelegate(DoorwaySocket a, DoorwaySocket b); +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/SocketConnectionDelegate.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/SocketConnectionDelegate.cs.meta new file mode 100644 index 0000000..4ceaa2d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/SocketConnectionDelegate.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 06a5321db05d9c04b97f03ee4b0893bc +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/StringUtil.cs b/Assets/Scripts/Assembly-CSharp/DunGen/StringUtil.cs new file mode 100644 index 0000000..d8d063d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/StringUtil.cs @@ -0,0 +1,14 @@ +using System.Text.RegularExpressions; + +namespace DunGen +{ + public static class StringUtil + { + private static Regex capitalLetterPattern; + + public static string SplitCamelCase(string input) + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/StringUtil.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/StringUtil.cs.meta new file mode 100644 index 0000000..2001dbd --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/StringUtil.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 4624e0d58e30582a11394d83d47972f0 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Tags.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Tags.meta new file mode 100644 index 0000000..fb6072d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Tags.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 84bdfb63483ce774cb8ad213cf3d9f96 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Tags/Tag.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/Tag.cs new file mode 100644 index 0000000..f193362 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/Tag.cs @@ -0,0 +1,78 @@ +using System; +using System.Collections.Generic; +using UnityEngine; + +namespace DunGen.Tags +{ + [Serializable] + public sealed class Tag : IEqualityComparer + { + [SerializeField] + private int id; + + public int ID + { + get + { + return 0; + } + set + { + } + } + + public string Name + { + get + { + return null; + } + set + { + } + } + + public Tag(int id) + { + } + + public Tag(string name) + { + } + + public override bool Equals(object obj) + { + return false; + } + + public override int GetHashCode() + { + return 0; + } + + public override string ToString() + { + return null; + } + + public int GetHashCode(Tag tag) + { + return 0; + } + + public bool Equals(Tag x, Tag y) + { + return false; + } + + public static bool operator ==(Tag a, Tag b) + { + return false; + } + + public static bool operator !=(Tag a, Tag b) + { + return false; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Tags/Tag.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/Tag.cs.meta new file mode 100644 index 0000000..13d1441 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/Tag.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 332f9502e001a392d29491e97e0adf06 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagContainer.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagContainer.cs new file mode 100644 index 0000000..f1fbb51 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagContainer.cs @@ -0,0 +1,47 @@ +using System; +using System.Collections; +using System.Collections.Generic; + +namespace DunGen.Tags +{ + [Serializable] + public sealed class TagContainer : IEnumerable, IEnumerable + { + public List Tags; + + public bool HasTag(Tag tag) + { + return false; + } + + public bool HasAnyTag(params Tag[] tags) + { + return false; + } + + public bool HasAnyTag(TagContainer tags) + { + return false; + } + + public bool HasAllTags(params Tag[] tags) + { + return false; + } + + public bool HasAllTags(TagContainer tags) + { + return false; + } + + public IEnumerator GetEnumerator() + { + return null; + } + + IEnumerator IEnumerable.GetEnumerator() + { + return null; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagContainer.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagContainer.cs.meta new file mode 100644 index 0000000..1eec732 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagContainer.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 5ae79f20b60b803f3c6e6af3dad164e6 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagManager.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagManager.cs new file mode 100644 index 0000000..bbdd401 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagManager.cs @@ -0,0 +1,64 @@ +using System; +using System.Collections.Generic; +using UnityEngine; + +namespace DunGen.Tags +{ + [Serializable] + public sealed class TagManager : ISerializationCallbackReceiver + { + private Dictionary tags; + + [SerializeField] + private List keys; + + [SerializeField] + private List values; + + public int TagCount => 0; + + public string TryGetNameFromID(int id) + { + return null; + } + + public bool TagExists(string name, out int id) + { + id = default(int); + return false; + } + + public bool TryRenameTag(int id, string newName) + { + return false; + } + + public int AddTag(string tagName) + { + return 0; + } + + private string GetUnusedTagName(string desiredTagName) + { + return null; + } + + public bool RemoveTag(int id) + { + return false; + } + + public int[] GetTagIDs() + { + return null; + } + + public void OnAfterDeserialize() + { + } + + public void OnBeforeSerialize() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagManager.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagManager.cs.meta new file mode 100644 index 0000000..d071fee --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 47be26d39169c14bcda9d409da9e8a61 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagPair.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagPair.cs new file mode 100644 index 0000000..381ba5d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagPair.cs @@ -0,0 +1,30 @@ +using System; + +namespace DunGen.Tags +{ + [Serializable] + public sealed class TagPair + { + public Tag TagA; + + public Tag TagB; + + public TagPair() + { + } + + public TagPair(Tag a, Tag b) + { + } + + public override string ToString() + { + return null; + } + + public bool Matches(Tag a, Tag b, bool twoWay) + { + return false; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagPair.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagPair.cs.meta new file mode 100644 index 0000000..c4bcdd6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Tags/TagPair.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: f6e47a9352b2a9c00cf958526bf06fc5 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Tile.cs b/Assets/Scripts/Assembly-CSharp/DunGen/Tile.cs new file mode 100644 index 0000000..32d405b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Tile.cs @@ -0,0 +1,119 @@ +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using DunGen.Tags; +using UnityEngine; +using UnityEngine.Serialization; + +namespace DunGen +{ + [AddComponentMenu("DunGen/Tile")] + public class Tile : MonoBehaviour, ISerializationCallbackReceiver + { + public const int CurrentFileVersion = 1; + + [SerializeField] + [FormerlySerializedAs("AllowImmediateRepeats")] + private bool allowImmediateRepeats; + + public bool AllowRotation; + + public TileRepeatMode RepeatMode; + + public bool OverrideAutomaticTileBounds; + + public Bounds TileBoundsOverride; + + public Doorway Entrance; + + public Doorway Exit; + + public bool OverrideConnectionChance; + + public float ConnectionChance; + + public TagContainer Tags; + + public List AllDoorways; + + public List UsedDoorways; + + public List UnusedDoorways; + + [SerializeField] + private TilePlacementData placement; + + [SerializeField] + private int fileVersion; + + [HideInInspector] + public Bounds Bounds => default(Bounds); + + public TilePlacementData Placement + { + get + { + return null; + } + internal set + { + } + } + + public Dungeon Dungeon + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + internal set + { + } + } + + internal void AddTriggerVolume() + { + } + + private void OnTriggerEnter(Collider other) + { + } + + private void OnTriggerExit(Collider other) + { + } + + private void OnDrawGizmosSelected() + { + } + + public IEnumerable GetAdjactedTiles() + { + return null; + } + + public bool IsAdjacentTo(Tile other) + { + return false; + } + + public Doorway GetEntranceDoorway() + { + return null; + } + + public Doorway GetExitDoorway() + { + return null; + } + + public void OnBeforeSerialize() + { + } + + public void OnAfterDeserialize() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/Tile.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/Tile.cs.meta new file mode 100644 index 0000000..9ad43ae --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/Tile.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: dcf4d9ff07d69c36441b139533cef6ae +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileConnectionRule.cs b/Assets/Scripts/Assembly-CSharp/DunGen/TileConnectionRule.cs new file mode 100644 index 0000000..d724168 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileConnectionRule.cs @@ -0,0 +1,22 @@ +namespace DunGen +{ + public sealed class TileConnectionRule + { + public enum ConnectionResult + { + Allow = 0, + Deny = 1, + Passthrough = 2 + } + + public delegate ConnectionResult CanTilesConnectDelegate(Tile tileA, Tile tileB, Doorway doorwayA, Doorway doorwayB); + + public int Priority; + + public CanTilesConnectDelegate Delegate; + + public TileConnectionRule(CanTilesConnectDelegate connectionDelegate, int priority = 0) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileConnectionRule.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/TileConnectionRule.cs.meta new file mode 100644 index 0000000..b35409b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileConnectionRule.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 6cad15b3eda2d7c45a4a9a64eaccd4fd +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileInjectionDelegate.cs b/Assets/Scripts/Assembly-CSharp/DunGen/TileInjectionDelegate.cs new file mode 100644 index 0000000..2a08452 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileInjectionDelegate.cs @@ -0,0 +1,6 @@ +using System.Collections.Generic; + +namespace DunGen +{ + public delegate void TileInjectionDelegate(RandomStream randomStream, ref List tilesToInject); +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileInjectionDelegate.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/TileInjectionDelegate.cs.meta new file mode 100644 index 0000000..e553388 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileInjectionDelegate.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d3b94c498ab6cfd47aba8a805f6d9eb8 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileInjectionRule.cs b/Assets/Scripts/Assembly-CSharp/DunGen/TileInjectionRule.cs new file mode 100644 index 0000000..5defc0e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileInjectionRule.cs @@ -0,0 +1,24 @@ +using System; + +namespace DunGen +{ + [Serializable] + public sealed class TileInjectionRule + { + public TileSet TileSet; + + public FloatRange NormalizedPathDepth; + + public FloatRange NormalizedBranchDepth; + + public bool CanAppearOnMainPath; + + public bool CanAppearOnBranchPath; + + public bool IsRequired; + + public bool IsLocked; + + public int LockID; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileInjectionRule.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/TileInjectionRule.cs.meta new file mode 100644 index 0000000..3806136 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileInjectionRule.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a207b47bbfc26d8a853bb7a07e1ac263 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileMatchDelegate.cs b/Assets/Scripts/Assembly-CSharp/DunGen/TileMatchDelegate.cs new file mode 100644 index 0000000..53e3f14 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileMatchDelegate.cs @@ -0,0 +1,4 @@ +namespace DunGen +{ + public delegate bool TileMatchDelegate(TileProxy previousTile, TileProxy potentialNextTile, ref float weight); +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileMatchDelegate.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/TileMatchDelegate.cs.meta new file mode 100644 index 0000000..052fa0d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileMatchDelegate.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 2cc6de7d621ff1440a392afbdc844f97 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TilePlacementData.cs b/Assets/Scripts/Assembly-CSharp/DunGen/TilePlacementData.cs new file mode 100644 index 0000000..ab5b8ac --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TilePlacementData.cs @@ -0,0 +1,234 @@ +using System; +using System.Runtime.CompilerServices; +using DunGen.Graph; +using UnityEngine; + +namespace DunGen +{ + [Serializable] + public sealed class TilePlacementData + { + [SerializeField] + private int pathDepth; + + [SerializeField] + private float normalizedPathDepth; + + [SerializeField] + private int branchDepth; + + [SerializeField] + private float normalizedBranchDepth; + + [SerializeField] + private bool isOnMainPath; + + [SerializeField] + private Bounds localBounds; + + [SerializeField] + private GraphNode graphNode; + + [SerializeField] + private GraphLine graphLine; + + [SerializeField] + private DungeonArchetype archetype; + + [SerializeField] + private TileSet tileSet; + + [SerializeField] + private Vector3 position; + + [SerializeField] + private Quaternion rotation; + + public int PathDepth + { + get + { + return 0; + } + internal set + { + } + } + + public float NormalizedPathDepth + { + get + { + return 0f; + } + internal set + { + } + } + + public int BranchDepth + { + get + { + return 0; + } + internal set + { + } + } + + public float NormalizedBranchDepth + { + get + { + return 0f; + } + internal set + { + } + } + + public bool IsOnMainPath + { + get + { + return false; + } + internal set + { + } + } + + public Bounds Bounds + { + [CompilerGenerated] + get + { + return default(Bounds); + } + [CompilerGenerated] + private set + { + } + } + + public Bounds LocalBounds + { + get + { + return default(Bounds); + } + internal set + { + } + } + + public GraphNode GraphNode + { + get + { + return null; + } + internal set + { + } + } + + public GraphLine GraphLine + { + get + { + return null; + } + internal set + { + } + } + + public DungeonArchetype Archetype + { + get + { + return null; + } + internal set + { + } + } + + public TileSet TileSet + { + get + { + return null; + } + internal set + { + } + } + + public Vector3 Position + { + get + { + return default(Vector3); + } + set + { + } + } + + public Quaternion Rotation + { + get + { + return default(Quaternion); + } + set + { + } + } + + public Matrix4x4 Transform + { + [CompilerGenerated] + get + { + return default(Matrix4x4); + } + [CompilerGenerated] + private set + { + } + } + + public int Depth => 0; + + public float NormalizedDepth => 0f; + + public InjectedTile InjectionData + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + set + { + } + } + + public TilePlacementData() + { + } + + public TilePlacementData(TilePlacementData copy) + { + } + + private void RecalculateTransform() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TilePlacementData.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/TilePlacementData.cs.meta new file mode 100644 index 0000000..490640d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TilePlacementData.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 291591f91fccb050a770ee21946b88ea +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TilePlacementResult.cs b/Assets/Scripts/Assembly-CSharp/DunGen/TilePlacementResult.cs new file mode 100644 index 0000000..046fe30 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TilePlacementResult.cs @@ -0,0 +1,15 @@ +namespace DunGen +{ + public enum TilePlacementResult + { + None = 0, + NoFromDoorway = 1, + NoTilesWithMatchingDoorway = 2, + NoValidTile = 3, + TemplateIsNull = 4, + NoMatchingDoorwayInTile = 5, + TileIsColliding = 6, + NewTileIsNull = 7, + OutOfBounds = 8 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TilePlacementResult.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/TilePlacementResult.cs.meta new file mode 100644 index 0000000..5ef7b67 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TilePlacementResult.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0582bb439dfdf7f4b8b0569303038c35 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileProxy.cs b/Assets/Scripts/Assembly-CSharp/DunGen/TileProxy.cs new file mode 100644 index 0000000..e5c6ec5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileProxy.cs @@ -0,0 +1,121 @@ +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DunGen +{ + public sealed class TileProxy + { + private List doorways; + + public GameObject Prefab + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public Tile PrefabTile + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public TilePlacementData Placement + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + internal set + { + } + } + + public DoorwayProxy Entrance + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public DoorwayProxy Exit + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public ReadOnlyCollection Doorways + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public IEnumerable UsedDoorways => null; + + public IEnumerable UnusedDoorways => null; + + public TileProxy(TileProxy existingTile) + { + } + + public TileProxy(GameObject prefab, bool ignoreSpriteRendererBounds, Vector3 upVector) + { + } + + public void PositionBySocket(DoorwayProxy myDoorway, DoorwayProxy otherDoorway) + { + } + + private Vector3 CalculateOverlap(TileProxy other) + { + return default(Vector3); + } + + public bool IsOverlapping(TileProxy other, float maxOverlap) + { + return false; + } + + public bool IsOverlappingOrOverhanging(TileProxy other, AxisDirection upDirection, float maxOverlap) + { + return false; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileProxy.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/TileProxy.cs.meta new file mode 100644 index 0000000..c98a30f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileProxy.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 188c07808bfd7a7d7e916cba0d5492db +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileRepeatMode.cs b/Assets/Scripts/Assembly-CSharp/DunGen/TileRepeatMode.cs new file mode 100644 index 0000000..c024f95 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileRepeatMode.cs @@ -0,0 +1,9 @@ +namespace DunGen +{ + public enum TileRepeatMode + { + Allow = 0, + DisallowImmediate = 1, + Disallow = 2 + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileRepeatMode.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/TileRepeatMode.cs.meta new file mode 100644 index 0000000..96a16bc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileRepeatMode.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 388304cd4ea2e4646a074684eaeac74f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileSet.cs b/Assets/Scripts/Assembly-CSharp/DunGen/TileSet.cs new file mode 100644 index 0000000..c0779c4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileSet.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using UnityEngine; + +namespace DunGen +{ + [Serializable] + [CreateAssetMenu(menuName = "DunGen/Tile Set", order = 700)] + public sealed class TileSet : ScriptableObject + { + public GameObjectChanceTable TileWeights; + + public List LockPrefabs; + + public void AddTile(GameObject tilePrefab, float mainPathWeight, float branchPathWeight) + { + } + + public void AddTiles(IEnumerable tilePrefab, float mainPathWeight, float branchPathWeight) + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/TileSet.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/TileSet.cs.meta new file mode 100644 index 0000000..674eed5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/TileSet.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 8051c419809ddfb023f9330c6c0eb0fc +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/UnityUtil.cs b/Assets/Scripts/Assembly-CSharp/DunGen/UnityUtil.cs new file mode 100644 index 0000000..171bac3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/UnityUtil.cs @@ -0,0 +1,227 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Reflection; +using System.Runtime.CompilerServices; +using UnityEngine; + +namespace DunGen +{ + public static class UnityUtil + { + [CompilerGenerated] + private sealed class _003CGetComponentsInParents_003Ed__26 : IEnumerable, IEnumerable, IEnumerator, IEnumerator, IDisposable where T : Component + { + private int _003C_003E1__state; + + private T _003C_003E2__current; + + private int _003C_003El__initialThreadId; + + private GameObject obj; + + public GameObject _003C_003E3__obj; + + private bool includeInactive; + + public bool _003C_003E3__includeInactive; + + private T[] _003C_003E7__wrap1; + + private int _003C_003E7__wrap2; + + private IEnumerator _003C_003E7__wrap3; + + T IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CGetComponentsInParents_003Ed__26(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + private void _003C_003Em__Finally1() + { + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return null; + } + + [DebuggerHidden] + IEnumerator IEnumerable.GetEnumerator() + { + return null; + } + } + + public static Type ProBuilderMeshType + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public static PropertyInfo ProBuilderPositionsProperty + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + static UnityUtil() + { + } + + public static void FindProBuilderObjectType() + { + } + + public static void Restart(this Stopwatch stopwatch) + { + } + + public static bool Contains(this Bounds bounds, Bounds other) + { + return false; + } + + public static Bounds TransformBounds(this Transform transform, Bounds localBounds) + { + return default(Bounds); + } + + public static Bounds InverseTransformBounds(this Transform transform, Bounds worldBounds) + { + return default(Bounds); + } + + public static void SetLayerRecursive(GameObject gameObject, int layer) + { + } + + public static void Destroy(UnityEngine.Object obj) + { + } + + public static string GetUniqueName(string name, IEnumerable usedNames) + { + return null; + } + + public static Bounds CombineBounds(params Bounds[] bounds) + { + return default(Bounds); + } + + public static Bounds CalculateProxyBounds(GameObject prefab, bool ignoreSpriteRendererBounds, Vector3 upVector) + { + return default(Bounds); + } + + public static Bounds CalculateObjectBounds(GameObject obj, bool includeInactive, bool ignoreSpriteRenderers, bool ignoreTriggerColliders = true) + { + return default(Bounds); + } + + public static void PositionObjectBySocket(GameObject objectA, GameObject socketA, GameObject socketB) + { + } + + public static void PositionObjectBySocket(Transform objectA, Transform socketA, Transform socketB) + { + } + + public static Vector3 GetCardinalDirection(Vector3 direction, out float magnitude) + { + magnitude = default(float); + return default(Vector3); + } + + public static Vector3 VectorAbs(Vector3 vector) + { + return default(Vector3); + } + + public static void SetVector3Masked(ref Vector3 input, Vector3 value, Vector3 mask) + { + } + + public static Bounds CondenseBounds(Bounds bounds, IEnumerable doorways) + { + return default(Bounds); + } + + [IteratorStateMachine(typeof(_003CGetComponentsInParents_003Ed__26<>))] + public static IEnumerable GetComponentsInParents(GameObject obj, bool includeInactive = false) where T : Component + { + return null; + } + + public static T GetComponentInParents(GameObject obj, bool includeInactive = false) where T : Component + { + return null; + } + + public static float CalculateOverlap(Bounds boundsA, Bounds boundsB) + { + return 0f; + } + + public static Vector3 CalculatePerAxisOverlap(Bounds boundsA, Bounds boundsB) + { + return default(Vector3); + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/DunGen/UnityUtil.cs.meta b/Assets/Scripts/Assembly-CSharp/DunGen/UnityUtil.cs.meta new file mode 100644 index 0000000..3a0ae91 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/DunGen/UnityUtil.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 62aae5f9d4529c52c0454277220e6108 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/EclipseWeather.cs b/Assets/Scripts/Assembly-CSharp/EclipseWeather.cs new file mode 100644 index 0000000..caef24e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EclipseWeather.cs @@ -0,0 +1,8 @@ +using UnityEngine; + +public class EclipseWeather : MonoBehaviour +{ + private void OnEnable() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/EclipseWeather.cs.meta b/Assets/Scripts/Assembly-CSharp/EclipseWeather.cs.meta new file mode 100644 index 0000000..e9b7493 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EclipseWeather.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a4be5fc1399ea4af3ee4b46cc15555dc +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ElevatorAnimationEvents.cs b/Assets/Scripts/Assembly-CSharp/ElevatorAnimationEvents.cs new file mode 100644 index 0000000..a4b7451 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ElevatorAnimationEvents.cs @@ -0,0 +1,125 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +public class ElevatorAnimationEvents : MonoBehaviour +{ + [CompilerGenerated] + private sealed class _003CfadeAudioIn_003Ed__11 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public bool fadeIn; + + public ElevatorAnimationEvents _003C_003E4__this; + + private int _003Ci_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CfadeAudioIn_003Ed__11(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public RoundManager roundManager; + + public AudioSource audioToPlay; + + public AudioSource audioToPlay2; + + private Coroutine fadeCoroutine; + + public void PlayAudio(AudioClip SFXclip) + { + } + + public void PlayAudio2(AudioClip SFXclip) + { + } + + public void PlayAudioOneshot(AudioClip SFXclip) + { + } + + public void PlayAudio2Oneshot(AudioClip SFXclip) + { + } + + public void StopAudio(AudioSource audio) + { + } + + public void FadeAudioOut(AudioSource audio) + { + } + + public void FadeAudioIn(AudioSource audio) + { + } + + [IteratorStateMachine(typeof(_003CfadeAudioIn_003Ed__11))] + private IEnumerator fadeAudioIn(bool fadeIn) + { + return null; + } + + public void LoadNewFloor() + { + } + + public void ElevatorFullyRunning() + { + } + + private void SetBodiesKinematic() + { + } + + public void ElevatorNoLongerRunning() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ElevatorAnimationEvents.cs.meta b/Assets/Scripts/Assembly-CSharp/ElevatorAnimationEvents.cs.meta new file mode 100644 index 0000000..fc3d1f5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ElevatorAnimationEvents.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: eaa67796cf13ce75e8036563bc247aca +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/EndOfGameStatUIElements.cs b/Assets/Scripts/Assembly-CSharp/EndOfGameStatUIElements.cs new file mode 100644 index 0000000..d523094 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EndOfGameStatUIElements.cs @@ -0,0 +1,32 @@ +using System; +using TMPro; +using UnityEngine; +using UnityEngine.UI; + +[Serializable] +public class EndOfGameStatUIElements +{ + public TextMeshProUGUI quotaNumerator; + + public TextMeshProUGUI quotaDenominator; + + public TextMeshProUGUI[] playerNamesText; + + public Image[] playerStates; + + public Sprite aliveIcon; + + public Sprite deceasedIcon; + + public Sprite missingIcon; + + public TextMeshProUGUI[] playerNotesText; + + public TextMeshProUGUI gradeLetter; + + public Image allPlayersDeadOverlay; + + public TextMeshProUGUI penaltyAddition; + + public TextMeshProUGUI penaltyTotal; +} diff --git a/Assets/Scripts/Assembly-CSharp/EndOfGameStatUIElements.cs.meta b/Assets/Scripts/Assembly-CSharp/EndOfGameStatUIElements.cs.meta new file mode 100644 index 0000000..5a25a10 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EndOfGameStatUIElements.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 664dd35d24ace3546bd176b03709be16 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/EndOfGameStats.cs b/Assets/Scripts/Assembly-CSharp/EndOfGameStats.cs new file mode 100644 index 0000000..714fca2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EndOfGameStats.cs @@ -0,0 +1,15 @@ +using System; + +[Serializable] +public class EndOfGameStats +{ + public int daysSpent; + + public int scrapValueCollected; + + public int deaths; + + public int allStepsTaken; + + public PlayerStats[] allPlayerStats; +} diff --git a/Assets/Scripts/Assembly-CSharp/EndOfGameStats.cs.meta b/Assets/Scripts/Assembly-CSharp/EndOfGameStats.cs.meta new file mode 100644 index 0000000..9e822b3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EndOfGameStats.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 6cc3647af7328b94aa8de01314b7b325 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/EnemyAI.cs b/Assets/Scripts/Assembly-CSharp/EnemyAI.cs new file mode 100644 index 0000000..5b9a669 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EnemyAI.cs @@ -0,0 +1,548 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.AI; + +public abstract class EnemyAI : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003CChooseNextNodeInSearchRoutine_003Ed__86 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public EnemyAI _003C_003E4__this; + + private float _003CclosestDist_003E5__2; + + private bool _003CgotNode_003E5__3; + + private GameObject _003CchosenNode_003E5__4; + + private int _003Ci_003E5__5; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CChooseNextNodeInSearchRoutine_003Ed__86(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CCurrentSearchCoroutine_003Ed__84 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public EnemyAI _003C_003E4__this; + + private int _003CtimeSpent_003E5__2; + + private int _003Ci_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CCurrentSearchCoroutine_003Ed__84(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public EnemyType enemyType; + + [Space(5f)] + public SkinnedMeshRenderer[] skinnedMeshRenderers; + + public MeshRenderer[] meshRenderers; + + public Animator creatureAnimator; + + public AudioSource creatureVoice; + + public AudioSource creatureSFX; + + public Transform eye; + + public AudioClip dieSFX; + + [Space(3f)] + public EnemyBehaviourState[] enemyBehaviourStates; + + public EnemyBehaviourState currentBehaviourState; + + public int currentBehaviourStateIndex; + + public int previousBehaviourStateIndex; + + private int currentOwnershipOnThisClient; + + public bool isInsidePlayerShip; + + [Header("AI Calculation / Netcode")] + public float AIIntervalTime; + + public bool inSpecialAnimation; + + public PlayerControllerB inSpecialAnimationWithPlayer; + + [HideInInspector] + public Vector3 serverPosition; + + [HideInInspector] + public Vector3 serverRotation; + + private float previousYRotation; + + private float targetYRotation; + + public NavMeshAgent agent; + + [HideInInspector] + public NavMeshPath path1; + + public GameObject[] allAINodes; + + public Transform targetNode; + + public Transform favoriteSpot; + + [HideInInspector] + public float tempDist; + + [HideInInspector] + public float mostOptimalDistance; + + [HideInInspector] + public float pathDistance; + + [HideInInspector] + public NetworkObject thisNetworkObject; + + public int thisEnemyIndex; + + public bool isClientCalculatingAI; + + public float updatePositionThreshold; + + private Vector3 tempVelocity; + + public PlayerControllerB targetPlayer; + + public bool movingTowardsTargetPlayer; + + public bool moveTowardsDestination; + + public Vector3 destination; + + private float updateDestinationInterval; + + public float syncMovementSpeed; + + public float timeSinceSpawn; + + public float exitVentAnimationTime; + + public bool ventAnimationFinished; + + [Space(5f)] + public bool isEnemyDead; + + public bool daytimeEnemyLeaving; + + public int enemyHP; + + private GameObject[] nodesTempArray; + + public float openDoorSpeedMultiplier; + + public bool useSecondaryAudiosOnAnimatedObjects; + + public AISearchRoutine currentSearch; + + public Coroutine searchCoroutine; + + public Coroutine chooseTargetNodeCoroutine; + + private RaycastHit raycastHit; + + private Ray LOSRay; + + public bool DebugEnemy; + + public int stunnedIndefinitely; + + public float stunNormalizedTimer; + + public float postStunInvincibilityTimer; + + public PlayerControllerB stunnedByPlayer; + + private float setDestinationToPlayerInterval; + + public bool debugEnemyAI; + + private bool removedPowerLevel; + + public virtual void SetEnemyStunned(bool setToStunned, float setToStunTime = 1f, PlayerControllerB setStunnedByPlayer = null) + { + } + + public virtual void Start() + { + } + + public PlayerControllerB MeetsStandardPlayerCollisionConditions(Collider other, bool inKillAnimation = false, bool overrideIsInsideFactoryCheck = false) + { + return null; + } + + public virtual void OnCollideWithPlayer(Collider other) + { + } + + public virtual void OnCollideWithEnemy(Collider other, EnemyAI collidedEnemy = null) + { + } + + public void SwitchToBehaviourState(int stateIndex) + { + } + + [ServerRpc(RequireOwnership = false)] + public void SwitchToBehaviourServerRpc(int stateIndex) + { + } + + [ClientRpc] + public void SwitchToBehaviourClientRpc(int stateIndex) + { + } + + public void SwitchToBehaviourStateOnLocalClient(int stateIndex) + { + } + + public void PlayAnimationOfCurrentState() + { + } + + public void PlayAudioOfCurrentState() + { + } + + public void SetMovingTowardsTargetPlayer(PlayerControllerB playerScript) + { + } + + public bool SetDestinationToPosition(Vector3 position, bool checkForPath = false) + { + return false; + } + + public virtual void DoAIInterval() + { + } + + public void SyncPositionToClients() + { + } + + public PlayerControllerB CheckLineOfSightForPlayer(float width = 45f, int range = 60, int proximityAwareness = -1) + { + return null; + } + + public PlayerControllerB CheckLineOfSightForClosestPlayer(float width = 45f, int range = 60, int proximityAwareness = -1) + { + return null; + } + + public PlayerControllerB[] GetAllPlayersInLineOfSight(float width = 45f, int range = 60, Transform eyeObject = null, float proximityCheck = -1f, int layerMask = -1) + { + return null; + } + + public GameObject CheckLineOfSight(List objectsToLookFor, float width = 45f, int range = 60, float proximityAwareness = -1f) + { + return null; + } + + public bool HasLineOfSightToPosition(Vector3 pos, float width = 45f, int range = 60, float proximityAwareness = -1f) + { + return false; + } + + public void StartSearch(Vector3 startOfSearch, AISearchRoutine newSearch = null) + { + } + + public void StopSearch(AISearchRoutine search, bool clear = true) + { + } + + [IteratorStateMachine(typeof(_003CCurrentSearchCoroutine_003Ed__84))] + private IEnumerator CurrentSearchCoroutine() + { + return null; + } + + private void StartCalculatingNextTargetNode() + { + } + + [IteratorStateMachine(typeof(_003CChooseNextNodeInSearchRoutine_003Ed__86))] + private IEnumerator ChooseNextNodeInSearchRoutine() + { + return null; + } + + public virtual void ReachedNodeInSearch() + { + } + + private void EliminateNodeFromSearch(GameObject node) + { + } + + private void EliminateNodeFromSearch(int index) + { + } + + public virtual void FinishedCurrentSearchRoutine() + { + } + + public bool TargetClosestPlayer(float bufferDistance = 1.5f, bool requireLineOfSight = false, float viewWidth = 70f) + { + return false; + } + + public PlayerControllerB GetClosestPlayer(bool requireLineOfSight = false, bool cannotBeInShip = false, bool cannotBeNearShip = false) + { + return null; + } + + public bool PlayerIsTargetable(PlayerControllerB playerScript, bool cannotBeInShip = false, bool overrideInsideFactoryCheck = false) + { + return false; + } + + public Transform ChooseFarthestNodeFromPosition(Vector3 pos, bool avoidLineOfSight = false, int offset = 0, bool log = false) + { + return null; + } + + public Transform ChooseClosestNodeToPosition(Vector3 pos, bool avoidLineOfSight = false, int offset = 0) + { + return null; + } + + public bool PathIsIntersectedByLineOfSight(Vector3 targetPos, bool calculatePathDistance = false, bool avoidLineOfSight = true) + { + return false; + } + + public virtual void Update() + { + } + + public void KillEnemyOnOwnerClient(bool overrideDestroy = false) + { + } + + [ServerRpc(RequireOwnership = false)] + public void KillEnemyServerRpc(bool destroy) + { + } + + [ClientRpc] + public void KillEnemyClientRpc(bool destroy) + { + } + + public virtual void KillEnemy(bool destroy = false) + { + } + + public virtual void CancelSpecialAnimationWithPlayer() + { + } + + public override void OnDestroy() + { + } + + private void SubtractFromPowerLevel() + { + } + + [ServerRpc] + private void UpdateEnemyRotationServerRpc(short rotationY) + { + } + + [ClientRpc] + private void UpdateEnemyRotationClientRpc(short rotationY) + { + } + + [ServerRpc] + private void UpdateEnemyPositionServerRpc(Vector3 newPos) + { + } + + [ClientRpc] + private void UpdateEnemyPositionClientRpc(Vector3 newPos) + { + } + + public virtual void OnSyncPositionFromServer(Vector3 newPos) + { + } + + public virtual void OnDrawGizmos() + { + } + + public void ChangeOwnershipOfEnemy(ulong newOwnerClientId) + { + } + + [ServerRpc(RequireOwnership = false)] + public void ChangeEnemyOwnerServerRpc(ulong clientId) + { + } + + [ClientRpc] + public void ChangeEnemyOwnerClientRpc(int playerVal) + { + } + + public void SetClientCalculatingAI(bool enable) + { + } + + public virtual void EnableEnemyMesh(bool enable, bool overrideDoNotSet = false) + { + } + + public virtual void DetectNoise(Vector3 noisePosition, float noiseLoudness, int timesPlayedInOneSpot = 0, int noiseID = 0) + { + } + + public void HitEnemyOnLocalClient(int force = 1, Vector3 hitDirection = default(Vector3), PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } + + [ServerRpc(RequireOwnership = false)] + public void HitEnemyServerRpc(int force, int playerWhoHit, bool playHitSFX) + { + } + + [ClientRpc] + public void HitEnemyClientRpc(int force, int playerWhoHit, bool playHitSFX) + { + } + + public virtual void HitEnemy(int force = 1, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } + + private void CheckTimeOfDayToLeave() + { + } + + public virtual void DaytimeEnemyLeave() + { + } + + public virtual void AnimationEventA() + { + } + + public virtual void AnimationEventB() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/EnemyAI.cs.meta b/Assets/Scripts/Assembly-CSharp/EnemyAI.cs.meta new file mode 100644 index 0000000..ae71d3b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EnemyAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a608f26a34f9f1c0934da463b1c1a0b6 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/EnemyAICollisionDetect.cs b/Assets/Scripts/Assembly-CSharp/EnemyAICollisionDetect.cs new file mode 100644 index 0000000..d2f942d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EnemyAICollisionDetect.cs @@ -0,0 +1,55 @@ +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class EnemyAICollisionDetect : MonoBehaviour, IHittable, INoiseListener, IShockableWithGun +{ + public EnemyAI mainScript; + + public bool canCollideWithEnemies; + + private void OnTriggerStay(Collider other) + { + } + + void IHittable.Hit(int force, Vector3 hitDirection, PlayerControllerB playerWhoHit, bool playHitSFX) + { + } + + void INoiseListener.DetectNoise(Vector3 noisePosition, float noiseLoudness, int timesNoisePlayedInOneSpot, int noiseID) + { + } + + bool IShockableWithGun.CanBeShocked() + { + return false; + } + + Vector3 IShockableWithGun.GetShockablePosition() + { + return default(Vector3); + } + + float IShockableWithGun.GetDifficultyMultiplier() + { + return 0f; + } + + void IShockableWithGun.ShockWithGun(PlayerControllerB shockedByPlayer) + { + } + + Transform IShockableWithGun.GetShockableTransform() + { + return null; + } + + NetworkObject IShockableWithGun.GetNetworkObject() + { + return null; + } + + void IShockableWithGun.StopShockingWithGun() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/EnemyAICollisionDetect.cs.meta b/Assets/Scripts/Assembly-CSharp/EnemyAICollisionDetect.cs.meta new file mode 100644 index 0000000..065bf48 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EnemyAICollisionDetect.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 6d7127b8f98ca8ec9896b384a71d39a2 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/EnemyAnimationEvent.cs b/Assets/Scripts/Assembly-CSharp/EnemyAnimationEvent.cs new file mode 100644 index 0000000..c58ea6b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EnemyAnimationEvent.cs @@ -0,0 +1,14 @@ +using UnityEngine; + +public class EnemyAnimationEvent : MonoBehaviour +{ + public EnemyAI mainScript; + + public void PlayEventA() + { + } + + public void PlayEventB() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/EnemyAnimationEvent.cs.meta b/Assets/Scripts/Assembly-CSharp/EnemyAnimationEvent.cs.meta new file mode 100644 index 0000000..9a140c7 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EnemyAnimationEvent.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 314a065169cd8b154af430fc48809ba1 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/EnemyBehaviourState.cs b/Assets/Scripts/Assembly-CSharp/EnemyBehaviourState.cs new file mode 100644 index 0000000..52ab61a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EnemyBehaviourState.cs @@ -0,0 +1,24 @@ +using System; +using UnityEngine; + +[Serializable] +public class EnemyBehaviourState +{ + public string name; + + [Space(5f)] + public AudioClip VoiceClip; + + public bool playOneShotVoice; + + public AudioClip SFXClip; + + public bool playOneShotSFX; + + [Space(5f)] + public bool IsAnimTrigger; + + public string parameterString; + + public bool boolValue; +} diff --git a/Assets/Scripts/Assembly-CSharp/EnemyBehaviourState.cs.meta b/Assets/Scripts/Assembly-CSharp/EnemyBehaviourState.cs.meta new file mode 100644 index 0000000..9c0a8d4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EnemyBehaviourState.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7a817825807f5034aabfb3424869f3c4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/EnemyType.cs b/Assets/Scripts/Assembly-CSharp/EnemyType.cs new file mode 100644 index 0000000..9969518 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EnemyType.cs @@ -0,0 +1,71 @@ +using UnityEngine; + +[CreateAssetMenu(menuName = "ScriptableObjects/EnemyType", order = 1)] +public class EnemyType : ScriptableObject +{ + public string enemyName; + + [Header("Spawning logic")] + [Tooltip("Determines how likely an enemy is to spawn throughout the day.")] + public AnimationCurve probabilityCurve; + + [Tooltip("X axis is the number of this enemy type that have spawned, divided by 10; Y axis is a multiplier to probabilityCurve.")] + public AnimationCurve numberSpawnedFalloff; + + public bool useNumberSpawnedFalloff; + + public GameObject enemyPrefab; + + [Tooltip("Adds to a global counter determining how many enemies can spawn.")] + public int PowerLevel; + + [Tooltip("An individual counter determining how many of this enemy can spawn, regardless of how many other enemies there are.")] + public int MaxCount; + + public int numberSpawned; + + public bool isOutsideEnemy; + + [Space(3f)] + public bool isDaytimeEnemy; + + [Range(0f, 1f)] + public float normalizedTimeInDayToLeave; + + [Space(3f)] + [Header("Misc. ingame properties")] + public float stunTimeMultiplier; + + public float doorSpeedMultiplier; + + public float stunGameDifficultyMultiplier; + + public bool canBeStunned; + + public bool canDie; + + public bool destroyOnDeath; + + public bool canSeeThroughFog; + + [Space(10f)] + [Header("Vent Properties")] + public float timeToPlayAudio; + + public float loudnessMultiplier; + + public AudioClip overrideVentSFX; + + [Space(5f)] + public AudioClip hitBodySFX; + + public AudioClip hitEnemyVoiceSFX; + + public AudioClip deathSFX; + + public AudioClip stunSFX; + + public MiscAnimation[] miscAnimations; + + public AudioClip[] audioClips; +} diff --git a/Assets/Scripts/Assembly-CSharp/EnemyType.cs.meta b/Assets/Scripts/Assembly-CSharp/EnemyType.cs.meta new file mode 100644 index 0000000..6dc0c06 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EnemyType.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 65d3fcb39dd67306e9bb17a603308070 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/EnemyVent.cs b/Assets/Scripts/Assembly-CSharp/EnemyVent.cs new file mode 100644 index 0000000..5340c5a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EnemyVent.cs @@ -0,0 +1,53 @@ +using Unity.Netcode; +using UnityEngine; + +public class EnemyVent : NetworkBehaviour +{ + public float spawnTime; + + public bool occupied; + + [Space(5f)] + public EnemyType enemyType; + + public int enemyTypeIndex; + + [Space(10f)] + public AudioSource ventAudio; + + public AudioLowPassFilter lowPassFilter; + + public AudioClip ventCrawlSFX; + + public Transform floorNode; + + private bool isPlayingAudio; + + private RoundManager roundManager; + + public Animator ventAnimator; + + public bool ventIsOpen; + + private void Start() + { + } + + private void BeginVentSFX() + { + } + + [ClientRpc] + public void OpenVentClientRpc() + { + } + + [ClientRpc] + public void SyncVentSpawnTimeClientRpc(int time, int enemyIndex) + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/EnemyVent.cs.meta b/Assets/Scripts/Assembly-CSharp/EnemyVent.cs.meta new file mode 100644 index 0000000..499aaa9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EnemyVent.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: d7a448fe3aafbb5773df039a1882cba7 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/EntranceTeleport.cs b/Assets/Scripts/Assembly-CSharp/EntranceTeleport.cs new file mode 100644 index 0000000..8fe6d80 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EntranceTeleport.cs @@ -0,0 +1,139 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using Unity.Netcode; +using UnityEngine; + +public class EntranceTeleport : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003CplayMusicOnDelay_003Ed__20 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public EntranceTeleport _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CplayMusicOnDelay_003Ed__20(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public bool isEntranceToBuilding; + + public Transform entrancePoint; + + private Transform exitPoint; + + public int entranceId; + + public StartOfRound playersManager; + + private bool initializedVariables; + + public int audioReverbPreset; + + public AudioSource entrancePointAudio; + + private AudioSource exitPointAudio; + + public AudioClip[] doorAudios; + + public AudioClip firstTimeAudio; + + public int dungeonFlowId; + + private InteractTrigger triggerScript; + + private float checkForEnemiesInterval; + + private bool enemyNearLastCheck; + + private bool gotExitPoint; + + private bool checkedForFirstTime; + + private void Awake() + { + } + + public bool FindExitPoint() + { + return false; + } + + public void TeleportPlayer() + { + } + + [IteratorStateMachine(typeof(_003CplayMusicOnDelay_003Ed__20))] + private IEnumerator playMusicOnDelay() + { + return null; + } + + [ServerRpc(RequireOwnership = false)] + public void TeleportPlayerServerRpc(int playerObj) + { + } + + [ClientRpc] + public void TeleportPlayerClientRpc(int playerObj) + { + } + + private void SetAudioPreset(int playerObj) + { + } + + public void PlayAudioAtTeleportPositions() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/EntranceTeleport.cs.meta b/Assets/Scripts/Assembly-CSharp/EntranceTeleport.cs.meta new file mode 100644 index 0000000..10ea24e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/EntranceTeleport.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 623425071eefd1638e1d2c6d44bd1d05 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ExtensionLadderItem.cs b/Assets/Scripts/Assembly-CSharp/ExtensionLadderItem.cs new file mode 100644 index 0000000..8f02d48 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ExtensionLadderItem.cs @@ -0,0 +1,163 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +public class ExtensionLadderItem : GrabbableObject +{ + [CompilerGenerated] + private sealed class _003CLadderAnimation_003Ed__30 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public ExtensionLadderItem _003C_003E4__this; + + private float _003CladderExtendAmountNormalized_003E5__2; + + private float _003CladderRotateAmountNormalized_003E5__3; + + private float _003CcurrentNormalizedTime_003E5__4; + + private float _003CspeedMultiplier_003E5__5; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CLadderAnimation_003Ed__30(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + private bool ladderActivated; + + private bool ladderAnimationBegun; + + private Coroutine ladderAnimationCoroutine; + + public Animator ladderAnimator; + + public Animator ladderRotateAnimator; + + public Transform baseNode; + + public Transform topNode; + + public Transform moveableNode; + + private RaycastHit hit; + + private int layerMask; + + public AudioClip hitRoof; + + public AudioClip fullExtend; + + public AudioClip hitWall; + + public AudioClip ladderExtendSFX; + + public AudioClip ladderFallSFX; + + public AudioClip ladderShrinkSFX; + + public AudioClip blinkWarningSFX; + + public AudioClip lidOpenSFX; + + public AudioSource ladderAudio; + + public InteractTrigger ladderScript; + + private float rotateAmount; + + private float extendAmount; + + private float ladderTimer; + + private bool ladderBlinkWarning; + + private bool ladderShrunkAutomatically; + + public Collider interactCollider; + + public Collider bridgeCollider; + + public Collider killTrigger; + + public override void Update() + { + } + + private void StartLadderAnimation() + { + } + + [IteratorStateMachine(typeof(_003CLadderAnimation_003Ed__30))] + private IEnumerator LadderAnimation() + { + return null; + } + + private float GetLadderExtensionDistance() + { + return 0f; + } + + private float GetLadderRotationDegrees(float topOfLadder) + { + return 0f; + } + + public override void DiscardItem() + { + } + + public override void EquipItem() + { + } + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ExtensionLadderItem.cs.meta b/Assets/Scripts/Assembly-CSharp/ExtensionLadderItem.cs.meta new file mode 100644 index 0000000..4f60f89 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ExtensionLadderItem.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: df872af2f61752e7bc69b078c2b1589e +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/FlashlightItem.cs b/Assets/Scripts/Assembly-CSharp/FlashlightItem.cs new file mode 100644 index 0000000..165f359 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/FlashlightItem.cs @@ -0,0 +1,81 @@ +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class FlashlightItem : GrabbableObject +{ + [Space(15f)] + public bool usingPlayerHelmetLight; + + public int flashlightInterferenceLevel; + + public static int globalFlashlightInterferenceLevel; + + public Light flashlightBulb; + + public Light flashlightBulbGlow; + + public AudioSource flashlightAudio; + + public AudioClip[] flashlightClips; + + public AudioClip outOfBatteriesClip; + + public AudioClip flashlightFlicker; + + public Material bulbLight; + + public Material bulbDark; + + public MeshRenderer flashlightMesh; + + public int flashlightTypeID; + + public bool changeMaterial; + + private float initialIntensity; + + private PlayerControllerB previousPlayerHeldBy; + + public override void Start() + { + } + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } + + public override void UseUpBatteries() + { + } + + public override void PocketItem() + { + } + + [ServerRpc] + public void PocketFlashlightServerRpc(bool stillUsingFlashlight = false) + { + } + + [ClientRpc] + public void PocketFlashlightClientRpc(bool stillUsingFlashlight) + { + } + + public override void DiscardItem() + { + } + + public override void EquipItem() + { + } + + public void SwitchFlashlight(bool on) + { + } + + public override void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/FlashlightItem.cs.meta b/Assets/Scripts/Assembly-CSharp/FlashlightItem.cs.meta new file mode 100644 index 0000000..4636d73 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/FlashlightItem.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: be0b50eac799087bd90f095be5cebec2 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/FloodWeather.cs b/Assets/Scripts/Assembly-CSharp/FloodWeather.cs new file mode 100644 index 0000000..868893a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/FloodWeather.cs @@ -0,0 +1,26 @@ +using UnityEngine; + +public class FloodWeather : MonoBehaviour +{ + public AudioSource waterAudio; + + private float floodLevelOffset; + + private float previousGlobalTime; + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + private void OnGlobalTimeSync() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/FloodWeather.cs.meta b/Assets/Scripts/Assembly-CSharp/FloodWeather.cs.meta new file mode 100644 index 0000000..62c505f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/FloodWeather.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: df16cea02147b803494bd0b652cfbc60 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/FlowermanAI.cs b/Assets/Scripts/Assembly-CSharp/FlowermanAI.cs new file mode 100644 index 0000000..d79e6fc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/FlowermanAI.cs @@ -0,0 +1,265 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class FlowermanAI : EnemyAI +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass52_0 + { + public FlowermanAI _003C_003E4__this; + + public float startTime; + + internal bool _003CkillAnimation_003Eb__0() + { + return false; + } + } + + [CompilerGenerated] + private sealed class _003CkillAnimation_003Ed__52 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public FlowermanAI _003C_003E4__this; + + private _003C_003Ec__DisplayClass52_0 _003C_003E8__1; + + private Vector3 _003CendPosition_003E5__2; + + private Vector3 _003CstartingPosition_003E5__3; + + private int _003Ci_003E5__4; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CkillAnimation_003Ed__52(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + private bool evadeModeStareDown; + + private bool stopTurningTowardsPlayers; + + public float evadeStealthTimer; + + private int stareDownChanceIncrease; + + public PlayerControllerB lookAtPlayer; + + private Transform localPlayerCamera; + + private RaycastHit rayHit; + + private Ray playerRay; + + public Transform turnCompass; + + private int roomAndEnemiesMask; + + private Vector3 agentLocalVelocity; + + public Collider thisEnemyCollider; + + private Vector3 previousPosition; + + private float velX; + + private float velZ; + + [Header("Kill animation")] + public bool inKillAnimation; + + private Coroutine killAnimationCoroutine; + + public bool carryingPlayerBody; + + public DeadBodyInfo bodyBeingCarried; + + public Transform rightHandGrip; + + public Transform animationContainer; + + private bool wasInEvadeMode; + + public List ignoredNodes; + + private Vector3 mainEntrancePosition; + + [Header("Anger phase")] + public float angerMeter; + + public float angerCheckInterval; + + public bool isInAngerMode; + + public AudioSource creatureAngerVoice; + + public AudioSource crackNeckAudio; + + public AudioClip crackNeckSFX; + + public int timesThreatened; + + private Vector3 waitAroundEntrancePosition; + + private int timesFoundSneaking; + + private bool stunnedByPlayerLastFrame; + + private bool startingKillAnimationLocalClient; + + public override void Start() + { + } + + public override void DoAIInterval() + { + } + + public void AvoidClosestPlayer() + { + } + + public void AddToAngerMeter(float amountToAdd) + { + } + + [ServerRpc] + public void EnterAngerModeServerRpc(float angerTime) + { + } + + [ClientRpc] + public void EnterAngerModeClientRpc(float angerTime) + { + } + + public void ChooseClosestNodeToPlayer() + { + } + + public override void Update() + { + } + + [ServerRpc] + public void DropPlayerBodyServerRpc() + { + } + + [ClientRpc] + public void DropPlayerBodyClientRpc() + { + } + + private void DropPlayerBody() + { + } + + private void LookAtPlayerOfInterest() + { + } + + private void CalculateAnimationDirection(float maxSpeed = 1f) + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + [ServerRpc(RequireOwnership = false)] + public void KillPlayerAnimationServerRpc(int playerObjectId) + { + } + + [ClientRpc] + public void CancelKillAnimationClientRpc(int playerObjectId) + { + } + + [ClientRpc] + public void KillPlayerAnimationClientRpc(int playerObjectId) + { + } + + [IteratorStateMachine(typeof(_003CkillAnimation_003Ed__52))] + private IEnumerator killAnimation() + { + return null; + } + + public void FinishKillAnimation(bool carryingBody = true) + { + } + + [ServerRpc(RequireOwnership = false)] + public void ResetFlowermanStealthTimerServerRpc(int playerObj) + { + } + + [ClientRpc] + public void ResetFlowermanStealthClientRpc(int playerObj) + { + } + + public void LookAtFlowermanTrigger(int playerObj) + { + } + + public override void KillEnemy(bool destroy = false) + { + } + + public override void HitEnemy(int force = 1, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/FlowermanAI.cs.meta b/Assets/Scripts/Assembly-CSharp/FlowermanAI.cs.meta new file mode 100644 index 0000000..7a299d4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/FlowermanAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 0ff02921be40daf28b21895907c199cb +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/FoliageDetailDistance.cs b/Assets/Scripts/Assembly-CSharp/FoliageDetailDistance.cs new file mode 100644 index 0000000..c3f2209 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/FoliageDetailDistance.cs @@ -0,0 +1,27 @@ +using System.Collections.Generic; +using UnityEngine; + +public class FoliageDetailDistance : MonoBehaviour +{ + public List allBushRenderers; + + private float updateInterval; + + private int bushIndex; + + private Coroutine updateBushesLODCoroutine; + + public Material highDetailMaterial; + + public Material lowDetailMaterial; + + public Transform localPlayerTransform; + + private void Start() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/FoliageDetailDistance.cs.meta b/Assets/Scripts/Assembly-CSharp/FoliageDetailDistance.cs.meta new file mode 100644 index 0000000..b8a14ac --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/FoliageDetailDistance.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: ca030f3ddc742a652ca63b7e287abe5f +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/FootprintsManager.cs b/Assets/Scripts/Assembly-CSharp/FootprintsManager.cs new file mode 100644 index 0000000..f1b9aa6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/FootprintsManager.cs @@ -0,0 +1,12 @@ +using UnityEngine; + +public class FootprintsManager : MonoBehaviour +{ + private void Start() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/FootprintsManager.cs.meta b/Assets/Scripts/Assembly-CSharp/FootprintsManager.cs.meta new file mode 100644 index 0000000..35fa302 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/FootprintsManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 16ed287f1209aa03b0c31b9f89693be2 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/FootstepSurface.cs b/Assets/Scripts/Assembly-CSharp/FootstepSurface.cs new file mode 100644 index 0000000..a156db9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/FootstepSurface.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine; + +[Serializable] +public class FootstepSurface +{ + public string surfaceTag; + + public AudioClip[] clips; + + public AudioClip hitSurfaceSFX; +} diff --git a/Assets/Scripts/Assembly-CSharp/FootstepSurface.cs.meta b/Assets/Scripts/Assembly-CSharp/FootstepSurface.cs.meta new file mode 100644 index 0000000..a67c0e8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/FootstepSurface.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1b2de91824786b243bddeafa583dccde +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ForestGiantAI.cs b/Assets/Scripts/Assembly-CSharp/ForestGiantAI.cs new file mode 100644 index 0000000..48d2bc1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ForestGiantAI.cs @@ -0,0 +1,298 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.Animations.Rigging; +using UnityEngine.Rendering.HighDefinition; + +public class ForestGiantAI : EnemyAI, IVisibleThreat +{ + [CompilerGenerated] + private sealed class _003CEatPlayerAnimation_003Ed__64 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public ForestGiantAI _003C_003E4__this; + + public PlayerControllerB playerBeingEaten; + + public Vector3 enemyPosition; + + public int enemyYRot; + + private Vector3 _003CstartPosition_003E5__2; + + private Quaternion _003CstartRotation_003E5__3; + + private int _003Ci_003E5__4; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CEatPlayerAnimation_003Ed__64(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + private Coroutine eatPlayerCoroutine; + + private bool inEatingPlayerAnimation; + + public Transform holdPlayerPoint; + + public AISearchRoutine roamPlanet; + + public AISearchRoutine searchForPlayers; + + private float velX; + + private float velZ; + + private Vector3 previousPosition; + + private Vector3 agentLocalVelocity; + + public Transform animationContainer; + + public TwoBoneIKConstraint reachForPlayerRig; + + public Transform reachForPlayerTarget; + + private float stopAndLookInterval; + + private float stopAndLookTimer; + + private float targetYRot; + + public float scrutiny; + + public float[] playerStealthMeters; + + public float timeSpentStaring; + + public bool investigating; + + private bool hasBegunInvestigating; + + public Vector3 investigatePosition; + + public PlayerControllerB chasingPlayer; + + private bool lostPlayerInChase; + + private float noticePlayerTimer; + + private bool lookingAtTarget; + + public Transform turnCompass; + + public Transform lookTarget; + + private bool chasingPlayerInLOS; + + private float timeSinceChangingTarget; + + private bool hasLostPlayerInChaseDebounce; + + private bool triggerChaseByTouchingDebounce; + + public AudioSource farWideSFX; + + public DecalProjector bloodOnFaceDecal; + + private Vector3 lastSeenPlayerPositionInChase; + + private float timeSinceDetectingVoice; + + public Transform centerPosition; + + public Transform handBone; + + ThreatType IVisibleThreat.type => default(ThreatType); + + int IVisibleThreat.GetThreatLevel(Vector3 seenByPosition) + { + return 0; + } + + int IVisibleThreat.GetInterestLevel() + { + return 0; + } + + Transform IVisibleThreat.GetThreatLookTransform() + { + return null; + } + + Transform IVisibleThreat.GetThreatTransform() + { + return null; + } + + Vector3 IVisibleThreat.GetThreatVelocity() + { + return default(Vector3); + } + + float IVisibleThreat.GetVisibility() + { + return 0f; + } + + public override void Start() + { + } + + public override void DoAIInterval() + { + } + + public override void FinishedCurrentSearchRoutine() + { + } + + public override void ReachedNodeInSearch() + { + } + + private void LateUpdate() + { + } + + public override void Update() + { + } + + private void ReachForPlayerIfClose() + { + } + + private void LookAtTarget() + { + } + + private void LookForPlayers() + { + } + + public void FindAndTargetNewPlayerOnLocalClient(PlayerControllerB newPlayer) + { + } + + [ServerRpc] + private void BeginChasingNewPlayerServerRpc(int playerId) + { + } + + [ClientRpc] + private void BeginChasingNewPlayerClientRpc(int playerId) + { + } + + [ClientRpc] + private void HasLostPlayerInChaseClientRpc() + { + } + + [ClientRpc] + private void HasFoundPlayerInChaseClientRpc() + { + } + + private void CalculateAnimationDirection(float maxSpeed = 1f) + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + [ServerRpc(RequireOwnership = false)] + public void GrabPlayerServerRpc(int playerId) + { + } + + [ClientRpc] + public void GrabPlayerClientRpc(int playerId, Vector3 enemyPosition, int enemyYRot) + { + } + + private void BeginEatPlayer(PlayerControllerB playerBeingEaten, Vector3 enemyPosition, int enemyYRot) + { + } + + [IteratorStateMachine(typeof(_003CEatPlayerAnimation_003Ed__64))] + private IEnumerator EatPlayerAnimation(PlayerControllerB playerBeingEaten, Vector3 enemyPosition, int enemyYRot) + { + return null; + } + + private void DropPlayerBody() + { + } + + private void StopKillAnimation() + { + } + + public override void DetectNoise(Vector3 noisePosition, float noiseLoudness, int timesPlayedInOneSpot = 0, int noiseID = 0) + { + } + + private void ReactToNoise(float distanceToNoise, Vector3 noisePosition) + { + } + + [ServerRpc] + public void DetectPlayerVoiceServerRpc(Vector3 noisePosition) + { + } + + public override void KillEnemy(bool destroy = false) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ForestGiantAI.cs.meta b/Assets/Scripts/Assembly-CSharp/ForestGiantAI.cs.meta new file mode 100644 index 0000000..cb95dc8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ForestGiantAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: e7b15edd45da6238821114030428f24f +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/GameNetcodeStuff.meta b/Assets/Scripts/Assembly-CSharp/GameNetcodeStuff.meta new file mode 100644 index 0000000..88db289 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/GameNetcodeStuff.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1efaea23dc5cc3448accc28ca59b4d4a +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/GameNetcodeStuff/PlayerControllerB.cs b/Assets/Scripts/Assembly-CSharp/GameNetcodeStuff/PlayerControllerB.cs new file mode 100644 index 0000000..ae1a084 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/GameNetcodeStuff/PlayerControllerB.cs @@ -0,0 +1,1843 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using Dissonance; +using TMPro; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.Animations.Rigging; +using UnityEngine.InputSystem; +using UnityEngine.UI; + +namespace GameNetcodeStuff +{ + public class PlayerControllerB : NetworkBehaviour, IHittable, IShockableWithGun, IVisibleThreat + { + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass291_0 + { + public QuickMenuManager quickMenu; + + internal bool _003CPlayIntroTip_003Eb__0() + { + return false; + } + } + + [CompilerGenerated] + private sealed class _003CGrabObject_003Ed__342 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PlayerControllerB _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CGrabObject_003Ed__342(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CPlayIntroTip_003Ed__291 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + private _003C_003Ec__DisplayClass291_0 _003C_003E8__1; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CPlayIntroTip_003Ed__291(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CPlayerJump_003Ed__365 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PlayerControllerB _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CPlayerJump_003Ed__365(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CWaitUntilPlayerHasLeftBodyToTeleport_003Ed__441 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PlayerControllerB _003C_003E4__this; + + public Vector3 newBodyPosition; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CWaitUntilPlayerHasLeftBodyToTeleport_003Ed__441(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CplayQuickSpecialAnimation_003Ed__307 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PlayerControllerB _003C_003E4__this; + + public float animTime; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CplayQuickSpecialAnimation_003Ed__307(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CspawnPlayerAnimTimer_003Ed__405 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PlayerControllerB _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CspawnPlayerAnimTimer_003Ed__405(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CtimeSpecialAnimation_003Ed__394 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public float time; + + public PlayerControllerB _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CtimeSpecialAnimation_003Ed__394(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CwaitToEndOfFrameToDiscard_003Ed__347 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PlayerControllerB _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CwaitToEndOfFrameToDiscard_003Ed__347(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public bool isTestingPlayer; + + [Header("MODELS / ANIMATIONS")] + public Transform[] bodyParts; + + public Transform thisPlayerBody; + + public SkinnedMeshRenderer thisPlayerModel; + + public SkinnedMeshRenderer thisPlayerModelLOD1; + + public SkinnedMeshRenderer thisPlayerModelLOD2; + + public SkinnedMeshRenderer thisPlayerModelArms; + + public Transform playerGlobalHead; + + public Transform playerModelArmsMetarig; + + public Transform localArmsRotationTarget; + + public Transform meshContainer; + + public Transform lowerSpine; + + public Camera gameplayCamera; + + public Transform cameraContainerTransform; + + public Transform playerEye; + + public float targetFOV; + + public Camera visorCamera; + + public CharacterController thisController; + + public Animator playerBodyAnimator; + + public MeshFilter playerBadgeMesh; + + public MeshRenderer playerBetaBadgeMesh; + + public int playerLevelNumber; + + public Transform localVisor; + + public Transform localVisorTargetPoint; + + private bool isSidling; + + private bool wasMovingForward; + + public MultiRotationConstraint cameraLookRig1; + + public MultiRotationConstraint cameraLookRig2; + + public Transform playerHudUIContainer; + + public Transform playerHudBaseRotation; + + public ChainIKConstraint rightArmNormalRig; + + public ChainIKConstraint rightArmProceduralRig; + + public Transform rightArmProceduralTarget; + + private Vector3 rightArmProceduralTargetBasePosition; + + public Light nightVision; + + public int currentSuitID; + + public bool performingEmote; + + public float emoteLayerWeight; + + public float timeSinceStartingEmote; + + public ParticleSystem beamUpParticle; + + public ParticleSystem beamOutParticle; + + public ParticleSystem beamOutBuildupParticle; + + public bool localArmsMatchCamera; + + public Transform localArmsTransform; + + [Header("AUDIOS")] + public AudioSource movementAudio; + + public AudioSource itemAudio; + + public AudioSource statusEffectAudio; + + public AudioSource waterBubblesAudio; + + public int currentFootstepSurfaceIndex; + + private int previousFootstepClip; + + [HideInInspector] + public Dictionary audioCoroutines; + + [HideInInspector] + public Dictionary audioCoroutines2; + + [HideInInspector] + public AudioReverbTrigger currentAudioTrigger; + + public AudioReverbTrigger currentAudioTriggerB; + + public float targetDryLevel; + + public float targetRoom; + + public float targetHighFreq; + + public float targetLowFreq; + + public float targetDecayTime; + + public ReverbPreset reverbPreset; + + public AudioListener activeAudioListener; + + public AudioReverbFilter activeAudioReverbFilter; + + public ParticleSystem bloodParticle; + + public bool playingQuickSpecialAnimation; + + private Coroutine quickSpecialAnimationCoroutine; + + [Header("INPUT / MOVEMENT")] + public float movementSpeed; + + public PlayerActions playerActions; + + private bool isWalking; + + private bool movingForward; + + public Vector2 moveInputVector; + + public Vector3 velocityLastFrame; + + private float sprintMultiplier; + + public bool isSprinting; + + public float sprintTime; + + public Image sprintMeterUI; + + [HideInInspector] + public float sprintMeter; + + [HideInInspector] + public bool isExhausted; + + private float exhaustionEffectLerp; + + public float jumpForce; + + private bool isJumping; + + private bool isFallingFromJump; + + private Coroutine jumpCoroutine; + + public float fallValue; + + public bool isGroundedOnServer; + + public bool isPlayerSliding; + + private float playerSlidingTimer; + + public Vector3 playerGroundNormal; + + public float maxSlideFriction; + + private float slideFriction; + + public float fallValueUncapped; + + public bool takingFallDamage; + + public float minVelocityToTakeDamage; + + public bool isCrouching; + + private bool isFallingNoJump; + + public int isMovementHindered; + + private int movementHinderedPrev; + + public float hinderedMultiplier; + + public int sourcesCausingSinking; + + public bool isSinking; + + public bool isUnderwater; + + private float syncUnderwaterInterval; + + private bool isFaceUnderwaterOnServer; + + public Collider underwaterCollider; + + private bool wasUnderwaterLastFrame; + + public float sinkingValue; + + public float sinkingSpeedMultiplier; + + public int statusEffectAudioIndex; + + private float cameraUp; + + public float lookSensitivity; + + private float oldLookRot; + + private float targetLookRot; + + private float previousYRot; + + private float targetYRot; + + public Vector3 syncFullRotation; + + private Vector3 walkForce; + + public Vector3 externalForces; + + private Vector3 movementForcesLastFrame; + + public Rigidbody playerRigidbody; + + public float averageVelocity; + + public int velocityMovingAverageLength; + + public int velocityAverageCount; + + public float getAverageVelocityInterval; + + public bool jetpackControls; + + public bool disablingJetpackControls; + + public Transform jetpackTurnCompass; + + private bool startedJetpackControls; + + private float previousFrameDeltaTime; + + private Collider[] nearByPlayers; + + private bool teleportingThisFrame; + + public bool teleportedLastFrame; + + [Header("LOCATION")] + public bool isInElevator; + + public bool isInHangarShipRoom; + + public bool isInsideFactory; + + [Space(5f)] + public bool wasInElevatorLastFrame; + + public Vector3 previousElevatorPosition; + + [Header("CONTROL / NETWORKING")] + public ulong playerClientId; + + public string playerUsername; + + public ulong playerSteamId; + + public ulong actualClientId; + + public bool isPlayerControlled; + + public bool justConnected; + + public bool disconnectedMidGame; + + [Space(5f)] + private bool isCameraDisabled; + + public StartOfRound playersManager; + + public bool isHostPlayerObject; + + private Vector3 oldPlayerPosition; + + private int previousAnimationState; + + public Vector3 serverPlayerPosition; + + public bool snapToServerPosition; + + private float oldCameraUp; + + public float ladderCameraHorizontal; + + private float updatePlayerAnimationsInterval; + + private float updatePlayerLookInterval; + + private List currentAnimationStateHash; + + private List previousAnimationStateHash; + + private float currentAnimationSpeed; + + private float previousAnimationSpeed; + + private int previousAnimationServer; + + private int oldConnectedPlayersAmount; + + private int playerMask; + + public RawImage playerScreen; + + public VoicePlayerState voicePlayerState; + + public AudioSource currentVoiceChatAudioSource; + + public PlayerVoiceIngameSettings currentVoiceChatIngameSettings; + + private float voiceChatUpdateInterval; + + public bool isTypingChat; + + [Header("DEATH")] + public int health; + + public float healthRegenerateTimer; + + public bool criticallyInjured; + + public bool hasBeenCriticallyInjured; + + private float limpMultiplier; + + public CauseOfDeath causeOfDeath; + + public bool isPlayerDead; + + [HideInInspector] + public bool setPositionOfDeadPlayer; + + [HideInInspector] + public Vector3 placeOfDeath; + + public Transform spectateCameraPivot; + + public PlayerControllerB spectatedPlayerScript; + + public DeadBodyInfo deadBody; + + public GameObject[] bodyBloodDecals; + + private int currentBloodIndex; + + public List playerBloodPooledObjects; + + public bool bleedingHeavily; + + private float bloodDropTimer; + + private bool alternatePlaceFootprints; + + public EnemyAI inAnimationWithEnemy; + + [Header("UI/MENU")] + public bool inTerminalMenu; + + public QuickMenuManager quickMenuManager; + + public TextMeshProUGUI usernameBillboardText; + + public Transform usernameBillboard; + + public CanvasGroup usernameAlpha; + + public Canvas usernameCanvas; + + private Vector3 tempVelocity; + + [Header("ITEM INTERACTION")] + public float grabDistance; + + public float throwPower; + + public bool isHoldingObject; + + private bool hasThrownObject; + + public bool twoHanded; + + public bool twoHandedAnimation; + + public float carryWeight; + + public bool isGrabbingObjectAnimation; + + public bool activatingItem; + + public float grabObjectAnimationTime; + + public Transform localItemHolder; + + public Transform serverItemHolder; + + public Transform propThrowPosition; + + public GrabbableObject currentlyHeldObject; + + private GrabbableObject currentlyGrabbingObject; + + public GrabbableObject currentlyHeldObjectServer; + + public GameObject heldObjectServerCopy; + + private Coroutine grabObjectCoroutine; + + private Ray interactRay; + + private int grabbableObjectsMask; + + private int interactableObjectsMask; + + private int walkableSurfacesMask; + + private int walkableSurfacesNoPlayersMask; + + private RaycastHit hit; + + private float upperBodyAnimationsWeight; + + public float doingUpperBodyEmote; + + private float handsOnWallWeight; + + public Light helmetLight; + + public Light[] allHelmetLights; + + private bool grabbedObjectValidated; + + private bool grabInvalidated; + + private bool throwingObject; + + [Space(5f)] + public GrabbableObject[] ItemSlots; + + public int currentItemSlot; + + private MeshRenderer[] itemRenderers; + + private float timeSinceSwitchingSlots; + + [HideInInspector] + public bool grabSetParentServer; + + [Header("TRIGGERS AND SPECIAL")] + public Image cursorIcon; + + public TextMeshProUGUI cursorTip; + + public Sprite grabItemIcon; + + private bool hoveringOverItem; + + public InteractTrigger hoveringOverTrigger; + + public InteractTrigger previousHoveringOverTrigger; + + public InteractTrigger currentTriggerInAnimationWith; + + public bool isHoldingInteract; + + public bool inSpecialInteractAnimation; + + public float specialAnimationWeight; + + public bool isClimbingLadder; + + public bool enteringSpecialAnimation; + + public float climbSpeed; + + public Vector3 clampCameraRotation; + + public Transform lineOfSightCube; + + public bool voiceMuffledByEnemy; + + [Header("SPECIAL ITEMS")] + public int shipTeleporterId; + + public MeshRenderer mapRadarDirectionIndicator; + + public Animator mapRadarDotAnimator; + + public bool equippedUsableItemQE; + + public bool IsInspectingItem; + + public bool isFirstFrameLateUpdate; + + public GrabbableObject pocketedFlashlight; + + public bool isFreeCamera; + + public bool isSpeedCheating; + + public bool inShockingMinigame; + + public Transform shockingTarget; + + public Transform turnCompass; + + public Transform smoothLookTurnCompass; + + public float smoothLookMultiplier; + + private bool smoothLookEnabledLastFrame; + + public Camera turnCompassCamera; + + [HideInInspector] + public Vector3 targetScreenPos; + + [HideInInspector] + public float shockMinigamePullPosition; + + [Space(5f)] + public bool speakingToWalkieTalkie; + + public bool holdingWalkieTalkie; + + public float isInGameOverAnimation; + + [HideInInspector] + public bool hasBegunSpectating; + + private Coroutine timeSpecialAnimationCoroutine; + + private float spectatedPlayerDeadTimer; + + public float insanityLevel; + + public float maxInsanityLevel; + + public float insanitySpeedMultiplier; + + public bool isPlayerAlone; + + public float timeSincePlayerMoving; + + public Scrollbar terminalScrollVertical; + + private bool updatePositionForNewlyJoinedClient; + + private float timeSinceTakingGravityDamage; + + [Space(5f)] + public float drunkness; + + public float drunknessInertia; + + public float drunknessSpeed; + + public bool increasingDrunknessThisFrame; + + ThreatType IVisibleThreat.type => default(ThreatType); + + float IVisibleThreat.GetVisibility() + { + return 0f; + } + + int IVisibleThreat.GetThreatLevel(Vector3 seenByPosition) + { + return 0; + } + + Vector3 IVisibleThreat.GetThreatVelocity() + { + return default(Vector3); + } + + int IVisibleThreat.GetInterestLevel() + { + return 0; + } + + Transform IVisibleThreat.GetThreatLookTransform() + { + return null; + } + + Transform IVisibleThreat.GetThreatTransform() + { + return null; + } + + private void Awake() + { + } + + private void Start() + { + } + + [IteratorStateMachine(typeof(_003CPlayIntroTip_003Ed__291))] + private IEnumerator PlayIntroTip() + { + return null; + } + + private void InstantiateBloodPooledObjects() + { + } + + public void ResetPlayerBloodObjects(bool resetBodyBlood = true) + { + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + public override void OnDestroy() + { + } + + private void SpeedCheat_performed(InputAction.CallbackContext context) + { + } + + private bool AllowPlayerDeath() + { + return false; + } + + public void DamagePlayer(int damageNumber, bool hasDamageSFX = true, bool callRPC = true, CauseOfDeath causeOfDeath = CauseOfDeath.Unknown, int deathAnimation = 0, bool fallDamage = false, Vector3 force = default(Vector3)) + { + } + + [ServerRpc] + public void BreakLegsSFXServerRpc() + { + } + + [ClientRpc] + public void BreakLegsSFXClientRpc() + { + } + + public void MakeCriticallyInjured(bool enable) + { + } + + [ServerRpc] + public void DamagePlayerServerRpc(int damageNumber, int newHealthAmount) + { + } + + [ClientRpc] + public void DamagePlayerClientRpc(int damageNumber, int newHealthAmount) + { + } + + private void DamageOnOtherClients(int damageNumber, int newHealthAmount) + { + } + + public void PlayQuickSpecialAnimation(float animTime) + { + } + + [IteratorStateMachine(typeof(_003CplayQuickSpecialAnimation_003Ed__307))] + private IEnumerator playQuickSpecialAnimation(float animTime) + { + return null; + } + + [ServerRpc] + public void StartSinkingServerRpc(float sinkingSpeed, int audioClipIndex) + { + } + + [ClientRpc] + public void StartSinkingClientRpc(float sinkingSpeed, int audioClipIndex) + { + } + + [ServerRpc] + public void StopSinkingServerRpc() + { + } + + [ClientRpc] + public void StopSinkingClientRpc() + { + } + + [ServerRpc] + public void MakeCriticallyInjuredServerRpc() + { + } + + [ClientRpc] + public void MakeCriticallyInjuredClientRpc() + { + } + + [ServerRpc] + public void HealServerRpc() + { + } + + [ClientRpc] + public void HealClientRpc() + { + } + + public void DropBlood(Vector3 direction = default(Vector3), bool leaveBlood = true, bool leaveFootprint = false) + { + } + + private void RandomizeBloodRotationAndScale(Transform blood) + { + } + + private void Emote1_performed(InputAction.CallbackContext context) + { + } + + private void Emote2_performed(InputAction.CallbackContext context) + { + } + + public void PerformEmote(InputAction.CallbackContext context, int emoteID) + { + } + + [ServerRpc] + public void StartPerformingEmoteServerRpc() + { + } + + [ClientRpc] + public void StartPerformingEmoteClientRpc() + { + } + + [ServerRpc] + public void StopPerformingEmoteServerRpc() + { + } + + [ClientRpc] + public void StopPerformingEmoteClientRpc() + { + } + + public bool CheckConditionsForSinkingInQuicksand() + { + return false; + } + + private bool CheckConditionsForEmote() + { + return false; + } + + private void ActivateItem_performed(InputAction.CallbackContext context) + { + } + + private void ActivateItem_canceled(InputAction.CallbackContext context) + { + } + + private bool CanUseItem() + { + return false; + } + + private int FirstEmptyItemSlot() + { + return 0; + } + + private int NextItemSlot(bool forward) + { + return 0; + } + + private void SwitchToItemSlot(int slot, GrabbableObject fillSlotWithItem = null) + { + } + + private void SwitchItem_performed(InputAction.CallbackContext context) + { + } + + [ServerRpc] + private void SwitchItemSlotsServerRpc(bool forward) + { + } + + [ClientRpc] + private void SwitchItemSlotsClientRpc(bool forward) + { + } + + private void Use_performed(InputAction.CallbackContext context) + { + } + + private bool InteractTriggerUseConditionsMet() + { + return false; + } + + private void InspectItem_performed(InputAction.CallbackContext context) + { + } + + private void QEItemInteract_performed(InputAction.CallbackContext context) + { + } + + private void Interact_performed(InputAction.CallbackContext context) + { + } + + private void BeginGrabObject() + { + } + + [IteratorStateMachine(typeof(_003CGrabObject_003Ed__342))] + private IEnumerator GrabObject() + { + return null; + } + + private void SetSpecialGrabAnimationBool(bool setTrue, GrabbableObject currentItem = null) + { + } + + [ServerRpc] + private void GrabObjectServerRpc(NetworkObjectReference grabbedObject) + { + } + + [ClientRpc] + private void GrabObjectClientRpc(bool grabValidated, NetworkObjectReference grabbedObject) + { + } + + private void Discard_performed(InputAction.CallbackContext context) + { + } + + [IteratorStateMachine(typeof(_003CwaitToEndOfFrameToDiscard_003Ed__347))] + private IEnumerator waitToEndOfFrameToDiscard() + { + return null; + } + + public void DespawnHeldObject() + { + } + + private void DespawnHeldObjectOnClient() + { + } + + [ServerRpc] + private void DespawnHeldObjectServerRpc() + { + } + + [ClientRpc] + private void DespawnHeldObjectClientRpc() + { + } + + public void DiscardHeldObject(bool placeObject = false, NetworkObject parentObjectTo = null, Vector3 placePosition = default(Vector3), bool matchRotationOfParent = true) + { + } + + private Vector3 DropItemAheadOfPlayer() + { + return default(Vector3); + } + + [ServerRpc] + private void ThrowObjectServerRpc(NetworkObjectReference grabbedObject, bool droppedInElevator, bool droppedInShipRoom, Vector3 targetFloorPosition, int floorYRot) + { + } + + [ClientRpc] + private void ThrowObjectClientRpc(bool droppedInElevator, bool droppedInShipRoom, Vector3 targetFloorPosition, NetworkObjectReference grabbedObject, int floorYRot) + { + } + + public void SetObjectAsNoLongerHeld(bool droppedInElevator, bool droppedInShipRoom, Vector3 targetFloorPosition, GrabbableObject dropObject, int floorYRot = -1) + { + } + + public void SetItemInElevator(bool droppedInShipRoom, bool droppedInElevator, GrabbableObject gObject) + { + } + + [ServerRpc] + private void PlaceObjectServerRpc(NetworkObjectReference grabbedObject, NetworkObjectReference parentObject, Vector3 placePositionOffset = default(Vector3), bool matchRotationOfParent = true) + { + } + + public void PlaceGrabbableObject(Transform parentObject, Vector3 positionOffset, bool matchRotationOfParent, GrabbableObject placeObject) + { + } + + [ClientRpc] + private void PlaceObjectClientRpc(NetworkObjectReference parentObjectReference, Vector3 placePositionOffset, bool matchRotationOfParent, NetworkObjectReference grabbedObject) + { + } + + private void SetFreeCamera_performed(InputAction.CallbackContext context) + { + } + + public void ChangeHelmetLight(int lightNumber, bool enable = true) + { + } + + private void OpenMenu_performed(InputAction.CallbackContext context) + { + } + + private void Jump_performed(InputAction.CallbackContext context) + { + } + + [IteratorStateMachine(typeof(_003CPlayerJump_003Ed__365))] + private IEnumerator PlayerJump() + { + return null; + } + + public void ResetFallGravity() + { + } + + private void PlayerLookInput() + { + } + + private void SyncFullRotWithClients() + { + } + + private void CalculateSmoothLookingInput(Vector2 inputVector) + { + } + + private void CalculateNormalLookingInput(Vector2 inputVector) + { + } + + private void Look_performed(InputAction.CallbackContext context) + { + } + + bool IShockableWithGun.CanBeShocked() + { + return false; + } + + float IShockableWithGun.GetDifficultyMultiplier() + { + return 0f; + } + + NetworkObject IShockableWithGun.GetNetworkObject() + { + return null; + } + + Transform IShockableWithGun.GetShockableTransform() + { + return null; + } + + Vector3 IShockableWithGun.GetShockablePosition() + { + return default(Vector3); + } + + void IShockableWithGun.ShockWithGun(PlayerControllerB shockedByPlayer) + { + } + + void IShockableWithGun.StopShockingWithGun() + { + } + + public void ForceTurnTowardsTarget() + { + } + + private void LookWhileClimbingLadder(Vector2 lookInput) + { + } + + private void Crouch_performed(InputAction.CallbackContext context) + { + } + + public void Crouch(bool crouch) + { + } + + [ServerRpc] + private void UpdatePlayerRotationServerRpc(short newRot, short newYRot) + { + } + + [ClientRpc] + private void UpdatePlayerRotationClientRpc(short newRot, short newYRot) + { + } + + [ServerRpc] + private void UpdatePlayerRotationFullServerRpc(Vector3 playerEulers) + { + } + + [ClientRpc] + private void UpdatePlayerRotationFullClientRpc(Vector3 playerEulers) + { + } + + private void UpdatePlayerAnimationsToOtherClients(Vector2 moveInputVector) + { + } + + [ServerRpc] + private void UpdatePlayerAnimationServerRpc(int animationState, float animationSpeed) + { + } + + [ClientRpc] + private void UpdatePlayerAnimationClientRpc(int animationState, float animationSpeed) + { + } + + public void UpdateSpecialAnimationValue(bool specialAnimation, short yVal = 0, float timed = 0f, bool climbingLadder = false) + { + } + + public void ResetZAndXRotation() + { + } + + [ServerRpc] + private void IsInSpecialAnimationServerRpc(bool specialAnimation, float timed = 0f, bool climbingLadder = false) + { + } + + [ClientRpc] + private void IsInSpecialAnimationClientRpc(bool specialAnimation, float timed = 0f, bool climbingLadder = false) + { + } + + [IteratorStateMachine(typeof(_003CtimeSpecialAnimation_003Ed__394))] + private IEnumerator timeSpecialAnimation(float time) + { + return null; + } + + public void GetCurrentMaterialStandingOn() + { + } + + public void PlayFootstepSound() + { + } + + public void PlayFootstepServer() + { + } + + public void PlayFootstepLocal() + { + } + + [ServerRpc] + private void UpdatePlayerPositionServerRpc(Vector3 newPos, bool inElevator, bool exhausted, bool isPlayerGrounded) + { + } + + [ClientRpc] + private void UpdatePlayerPositionClientRpc(Vector3 newPos, bool inElevator, bool exhausted, bool isPlayerGrounded) + { + } + + [ServerRpc] + public void LandFromJumpServerRpc(bool fallHard) + { + } + + [ClientRpc] + public void LandFromJumpClientRpc(bool fallHard) + { + } + + public void LimpAnimationSpeed() + { + } + + public void SpawnPlayerAnimation() + { + } + + [IteratorStateMachine(typeof(_003CspawnPlayerAnimTimer_003Ed__405))] + private IEnumerator spawnPlayerAnimTimer() + { + return null; + } + + [ServerRpc(RequireOwnership = false)] + private void SendNewPlayerValuesServerRpc(ulong newPlayerSteamId) + { + } + + [ClientRpc] + private void SendNewPlayerValuesClientRpc(ulong[] playerSteamIds) + { + } + + private int GetNumberOfDuplicateNamesInLobby() + { + return 0; + } + + private string NoPunctuation(string input) + { + return null; + } + + public void ConnectClientToPlayerObject() + { + } + + private void ChangeAudioListenerToObject(GameObject addToObject) + { + } + + private void PlayerHitGroundEffects() + { + } + + private void CalculateGroundNormal() + { + } + + private bool IsPlayerNearGround() + { + return false; + } + + [ServerRpc] + public void DisableJetpackModeServerRpc() + { + } + + [ClientRpc] + public void DisableJetpackModeClientRpc() + { + } + + public void DisableJetpackControlsLocally() + { + } + + private void Update() + { + } + + private void SetFaceUnderwaterFilters() + { + } + + [ServerRpc] + private void SetFaceUnderwaterServerRpc() + { + } + + [ClientRpc] + private void SetFaceUnderwaterClientRpc() + { + } + + [ServerRpc] + private void SetFaceOutOfWaterServerRpc() + { + } + + [ClientRpc] + private void SetFaceOutOfWaterClientRpc() + { + } + + public void IncreaseFearLevelOverTime(float amountMultiplier = 1f, float cap = 1f) + { + } + + public void JumpToFearLevel(float targetFearLevel, bool onlyGoUp = true) + { + } + + private void SetPlayerSanityLevel() + { + } + + private void SetNightVisionEnabled(bool isNotLocalClient) + { + } + + public void ClickHoldInteraction() + { + } + + private void StopHoldInteractionOnTrigger() + { + } + + public void TeleportPlayer(Vector3 pos, bool withRotation = false, float rot = 0f, bool allowInteractTrigger = false, bool enableController = true) + { + } + + public void KillPlayer(Vector3 bodyVelocity, bool spawnBody = true, CauseOfDeath causeOfDeath = CauseOfDeath.Unknown, int deathAnimation = 0) + { + } + + [ServerRpc] + private void KillPlayerServerRpc(int playerId, bool spawnBody, Vector3 bodyVelocity, int causeOfDeath, int deathAnimation) + { + } + + [ClientRpc] + private void KillPlayerClientRpc(int playerId, bool spawnBody, Vector3 bodyVelocity, int causeOfDeath, int deathAnimation) + { + } + + public void SpawnDeadBody(int playerId, Vector3 bodyVelocity, int causeOfDeath, PlayerControllerB deadPlayerController, int deathAnimation = 0) + { + } + + public void DropAllHeldItems(bool itemsFall = true, bool disconnecting = false) + { + } + + private bool NearOtherPlayers(PlayerControllerB playerScript = null, float checkRadius = 10f) + { + return false; + } + + private bool PlayerIsHearingOthersThroughWalkieTalkie(PlayerControllerB playerScript = null) + { + return false; + } + + public void DisablePlayerModel(GameObject playerObject, bool enable = false, bool disableLocalArms = false) + { + } + + public void SyncBodyPositionWithClients() + { + } + + [ClientRpc] + public void SyncBodyPositionClientRpc(Vector3 newBodyPosition) + { + } + + [IteratorStateMachine(typeof(_003CWaitUntilPlayerHasLeftBodyToTeleport_003Ed__441))] + private IEnumerator WaitUntilPlayerHasLeftBodyToTeleport(Vector3 newBodyPosition) + { + return null; + } + + private void LateUpdate() + { + } + + private void RaycastSpectateCameraAroundPivot() + { + } + + private void SetHoverTipAndCurrentInteractTrigger() + { + } + + public void ShowNameBillboard() + { + } + + public bool IsPlayerServer() + { + return false; + } + + private void SpectateNextPlayer() + { + } + + public void SetSpectatedPlayerEffects(bool allPlayersDead = false) + { + } + + public void AddBloodToBody() + { + } + + public void RemoveBloodFromBody() + { + } + + void IHittable.Hit(int force, Vector3 hitDirection, PlayerControllerB playerWhoHit, bool playHitSFX = false) + { + } + + [ServerRpc(RequireOwnership = false)] + public void DamagePlayerFromOtherClientServerRpc(int damageAmount, Vector3 hitDirection, int playerWhoHit) + { + } + + [ClientRpc] + public void DamagePlayerFromOtherClientClientRpc(int damageAmount, Vector3 hitDirection, int playerWhoHit, int newHealthAmount) + { + } + + public bool HasLineOfSightToPosition(Vector3 pos, float width = 45f, int range = 60, float proximityAwareness = -1f) + { + return false; + } + + public float LineOfSightToPositionAngle(Vector3 pos, int range = 60, float proximityAwareness = -1f) + { + return 0f; + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/GameNetcodeStuff/PlayerControllerB.cs.meta b/Assets/Scripts/Assembly-CSharp/GameNetcodeStuff/PlayerControllerB.cs.meta new file mode 100644 index 0000000..543612b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/GameNetcodeStuff/PlayerControllerB.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b5527bdb3035a22c9cc2e567258a1c97 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: -50 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/GameNetworkManager.cs b/Assets/Scripts/Assembly-CSharp/GameNetworkManager.cs new file mode 100644 index 0000000..f017540 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/GameNetworkManager.cs @@ -0,0 +1,591 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using GameNetcodeStuff; +using Netcode.Transports.Facepunch; +using Steamworks; +using Steamworks.Data; +using Unity.Netcode; +using UnityEngine; + +public class GameNetworkManager : MonoBehaviour +{ + [CompilerGenerated] + private sealed class _003CDisconnectProcess_003Ed__70 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public GameNetworkManager _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CDisconnectProcess_003Ed__70(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [StructLayout(LayoutKind.Auto)] + [CompilerGenerated] + private struct _003CJoinLobby_003Ed__83 : IAsyncStateMachine + { + public int _003C_003E1__state; + + public AsyncVoidMethodBuilder _003C_003Et__builder; + + public Lobby lobby; + + public SteamId id; + + public GameNetworkManager _003C_003E4__this; + + private TaskAwaiter _003C_003Eu__1; + + private void MoveNext() + { + } + + void IAsyncStateMachine.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + this.MoveNext(); + } + + [DebuggerHidden] + private void SetStateMachine(IAsyncStateMachine stateMachine) + { + } + + void IAsyncStateMachine.SetStateMachine(IAsyncStateMachine stateMachine) + { + //ILSpy generated this explicit interface implementation from .override directive in SetStateMachine + this.SetStateMachine(stateMachine); + } + } + + [StructLayout(LayoutKind.Auto)] + [CompilerGenerated] + private struct _003CStartHost_003Ed__82 : IAsyncStateMachine + { + public int _003C_003E1__state; + + public AsyncVoidMethodBuilder _003C_003Et__builder; + + public GameNetworkManager _003C_003E4__this; + + private GameNetworkManager _003C_003E7__wrap1; + + private TaskAwaiter _003C_003Eu__1; + + private void MoveNext() + { + } + + void IAsyncStateMachine.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + this.MoveNext(); + } + + [DebuggerHidden] + private void SetStateMachine(IAsyncStateMachine stateMachine) + { + } + + void IAsyncStateMachine.SetStateMachine(IAsyncStateMachine stateMachine) + { + //ILSpy generated this explicit interface implementation from .override directive in SetStateMachine + this.SetStateMachine(stateMachine); + } + } + + [CompilerGenerated] + private sealed class _003CTimeOutLobbyRefresh_003Ed__58 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public GameNetworkManager _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CTimeOutLobbyRefresh_003Ed__58(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CdelayStartClient_003Ed__87 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CdelayStartClient_003Ed__87(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CwaitFrameBeforeFindingUsername_003Ed__46 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public GameNetworkManager _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CwaitFrameBeforeFindingUsername_003Ed__46(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public int gameVersionNum; + + public int compatibleFileCutoffVersion; + + public bool AlwaysDisplayNews; + + public bool isDemo; + + [Space(5f)] + public bool SendExceptionsToServer; + + [Space(5f)] + public bool disableSteam; + + private FacepunchTransport transport; + + public List steamIdsInLobby; + + public HostSettings lobbyHostSettings; + + public int connectedPlayers; + + private bool hasSubscribedToConnectionCallbacks; + + public bool gameHasStarted; + + public PlayerControllerB localPlayerController; + + public int disconnectReason; + + public string username; + + public bool isDisconnecting; + + public bool firstTimeInMenu; + + public bool isHostingGame; + + public bool waitingForLobbyDataRefresh; + + public int playersInRefreshedLobby; + + public string steamLobbyName; + + public const string LCsaveFile1Name = "LCSaveFile1"; + + public const string LCsaveFile2Name = "LCSaveFile2"; + + public const string LCsaveFile3Name = "LCSaveFile3"; + + public const string generalSaveDataName = "LCGeneralSaveData"; + + public string currentSaveFileName; + + public int saveFileNum; + + public AudioClip buttonCancelSFX; + + public AudioClip buttonSelectSFX; + + public AudioClip buttonPressSFX; + + public AudioClip buttonTuneSFX; + + public bool disallowConnection; + + public string disconnectionReasonMessage; + + public bool localClientWaitingForApproval; + + public bool disapprovedClientThisFrame; + + private string previousLogErrorString; + + public static GameNetworkManager Instance + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public Lobby? currentLobby + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + private void LogCallback(string condition, string stackTrace, LogType type) + { + } + + private void Awake() + { + } + + [IteratorStateMachine(typeof(_003CwaitFrameBeforeFindingUsername_003Ed__46))] + private IEnumerator waitFrameBeforeFindingUsername() + { + return null; + } + + private void Start() + { + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + public void SetSteamFriendGrouping(string groupName, int groupSize, string steamDisplay) + { + } + + private void ConnectionApproval(NetworkManager.ConnectionApprovalRequest request, NetworkManager.ConnectionApprovalResponse response) + { + } + + private void Singleton_OnClientDisconnectCallback(ulong clientId) + { + } + + private void OnLocalClientConnectionDisapproved(ulong clientId) + { + } + + private void Singleton_OnClientConnectedCallback(ulong clientId) + { + } + + public void SubscribeToConnectionCallbacks() + { + } + + public void SteamFriends_OnGameLobbyJoinRequested(Lobby lobby, SteamId id) + { + } + + public bool LobbyDataIsJoinable(Lobby lobby) + { + return false; + } + + [IteratorStateMachine(typeof(_003CTimeOutLobbyRefresh_003Ed__58))] + public IEnumerator TimeOutLobbyRefresh() + { + return null; + } + + private void SteamMatchmaking_OnLobbyMemberJoined(Lobby lobby, Friend friend) + { + } + + private string NoPunctuation(string input) + { + return null; + } + + private void SteamMatchmaking_OnLobbyMemberLeave(Lobby lobby, Friend friend) + { + } + + private void SteamMatchmaking_OnLobbyGameCreated(Lobby lobby, uint arg2, ushort arg3, SteamId arg4) + { + } + + private void SteamMatchmaking_OnLobbyInvite(Friend friend, Lobby lobby) + { + } + + private void SteamMatchmaking_OnLobbyCreated(Result result, Lobby lobby) + { + } + + public void LeaveLobbyAtGameStart() + { + } + + public void SetLobbyJoinable(bool joinable) + { + } + + public void SetCurrentLobbyNull() + { + } + + private void OnApplicationQuit() + { + } + + public void Disconnect() + { + } + + [IteratorStateMachine(typeof(_003CDisconnectProcess_003Ed__70))] + private IEnumerator DisconnectProcess() + { + return null; + } + + private void StartDisconnect() + { + } + + public void SaveGame() + { + } + + private void ResetGameValuesToDefault() + { + } + + public void ResetUnlockablesListValues() + { + } + + private void SaveLocalPlayerValues() + { + } + + public void ResetSavedGameValues() + { + } + + private void SaveGameValues() + { + } + + private void SaveItemsInShip() + { + } + + private void ConvertUnsellableItemsToCredits() + { + } + + private void SetInstanceValuesBackToDefault() + { + } + + public void InviteFriendsUI() + { + } + + [AsyncStateMachine(typeof(_003CStartHost_003Ed__82))] + public void StartHost() + { + } + + [AsyncStateMachine(typeof(_003CJoinLobby_003Ed__83))] + public void JoinLobby(Lobby lobby, SteamId id) + { + } + + public void LeaveCurrentSteamLobby() + { + } + + public void SetConnectionDataBeforeConnecting() + { + } + + public void StartClient(SteamId id) + { + } + + [IteratorStateMachine(typeof(_003CdelayStartClient_003Ed__87))] + private IEnumerator delayStartClient() + { + return null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/GameNetworkManager.cs.meta b/Assets/Scripts/Assembly-CSharp/GameNetworkManager.cs.meta new file mode 100644 index 0000000..95c8e4a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/GameNetworkManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b644d029963e2a1609e95aa9e7c2de27 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: -10 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/GlobalEffects.cs b/Assets/Scripts/Assembly-CSharp/GlobalEffects.cs new file mode 100644 index 0000000..ab2383c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/GlobalEffects.cs @@ -0,0 +1,81 @@ +using System.Runtime.CompilerServices; +using Unity.Netcode; +using UnityEngine; + +public class GlobalEffects : NetworkBehaviour +{ + private StartOfRound playersManager; + + public bool ownedByPlayer; + + public static GlobalEffects Instance + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + private void Awake() + { + } + + public void PlayAnimAndAudioServer(ServerAnimAndAudio serverAnimAndAudio) + { + } + + public void PlayAnimAndAudioServerFromSenderObject(ServerAnimAndAudio serverAnimAndAudio) + { + } + + [ServerRpc(RequireOwnership = false)] + private void PlayAnimAndAudioServerRpc(ServerAnimAndAudio serverAnimAndAudio) + { + } + + [ClientRpc] + private void PlayAnimAndAudioClientRpc(ServerAnimAndAudio serverAnimAndAudio) + { + } + + public void PlayAnimationServer(ServerAnimation serverAnimation) + { + } + + public void PlayAnimationServerFromSenderObject(ServerAnimation serverAnimation) + { + } + + [ServerRpc(RequireOwnership = false)] + private void PlayAnimationServerRpc(ServerAnimation serverAnimation) + { + } + + [ClientRpc] + private void PlayAnimationClientRpc(ServerAnimation serverAnimation) + { + } + + public void PlayAudioServer(ServerAudio serverAudio) + { + } + + public void PlayAudioServerFromSenderObject(ServerAudio serverAudio) + { + } + + [ServerRpc(RequireOwnership = false)] + private void PlayAudioServerRpc(ServerAudio serverAudio) + { + } + + [ClientRpc] + private void PlayAudioClientRpc(ServerAudio serverAudio) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/GlobalEffects.cs.meta b/Assets/Scripts/Assembly-CSharp/GlobalEffects.cs.meta new file mode 100644 index 0000000..da23a99 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/GlobalEffects.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: dc90f90df5c6dab89e6978ad19d8b401 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/GrabbableObject.cs b/Assets/Scripts/Assembly-CSharp/GrabbableObject.cs new file mode 100644 index 0000000..3dc9f18 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/GrabbableObject.cs @@ -0,0 +1,306 @@ +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public abstract class GrabbableObject : NetworkBehaviour +{ + public bool grabbable; + + public bool isHeld; + + public bool isHeldByEnemy; + + [Space(3f)] + public Transform parentObject; + + public Vector3 targetFloorPosition; + + public Vector3 startFallingPosition; + + public int floorYRot; + + public float fallTime; + + public bool hasHitGround; + + [Space(5f)] + public int scrapValue; + + public bool itemUsedUp; + + public PlayerControllerB playerHeldBy; + + public bool isPocketed; + + public bool isBeingUsed; + + public bool isInElevator; + + public bool isInShipRoom; + + public bool isInFactory; + + [Space(10f)] + public float useCooldown; + + [HideInInspector] + public float currentUseCooldown; + + [Space(10f)] + public Item itemProperties; + + public Battery insertedBattery; + + public string customGrabTooltip; + + [HideInInspector] + public Rigidbody propBody; + + [HideInInspector] + public Collider[] propColliders; + + [HideInInspector] + public Vector3 originalScale; + + public bool wasOwnerLastFrame; + + public MeshRenderer mainObjectRenderer; + + private int isSendingItemRPC; + + [HideInInspector] + public bool scrapPersistedThroughRounds; + + public bool heldByPlayerOnServer; + + [HideInInspector] + public Transform radarIcon; + + public bool reachedFloorTarget; + + [Space(3f)] + public bool grabbableToEnemies; + + private bool hasBeenHeld; + + public virtual int GetItemDataToSave() + { + return 0; + } + + public virtual void LoadItemSaveData(int saveData) + { + } + + public virtual void Start() + { + } + + public void FallToGround(bool randomizePosition = false) + { + } + + public void EnablePhysics(bool enable) + { + } + + public virtual void InspectItem() + { + } + + public virtual void InteractItem() + { + } + + public void GrabItemOnClient() + { + } + + public void SetControlTipsForItem() + { + } + + public virtual void GrabItem() + { + } + + public void UseItemOnClient(bool buttonDown = true) + { + } + + public bool UseItemBatteries() + { + return false; + } + + public virtual void ItemActivate(bool used, bool buttonDown = true) + { + } + + public void ItemInteractLeftRightOnClient(bool right) + { + } + + public virtual void ItemInteractLeftRight(bool right) + { + } + + public virtual void UseUpBatteries() + { + } + + public virtual void GrabItemFromEnemy() + { + } + + public virtual void DiscardItemFromEnemy() + { + } + + public virtual void ChargeBatteries() + { + } + + public virtual void EquipItem() + { + } + + public virtual void PocketItem() + { + } + + public void DiscardItemOnClient() + { + } + + [ServerRpc] + public void SyncBatteryServerRpc(int charge) + { + } + + [ClientRpc] + public void SyncBatteryClientRpc(int charge) + { + } + + public virtual void DiscardItem() + { + } + + public virtual void LateUpdate() + { + } + + public virtual void FallWithCurve() + { + } + + public virtual void OnPlaceObject() + { + } + + public virtual void OnBroughtToShip() + { + } + + public virtual void Update() + { + } + + public void SetScrapValue(int setValueTo) + { + } + + public bool RequireCooldown() + { + return false; + } + + [ServerRpc(RequireOwnership = false)] + private void InteractLeftRightServerRpc(bool right) + { + } + + [ClientRpc] + private void InteractLeftRightClientRpc(bool right) + { + } + + [ServerRpc(RequireOwnership = false)] + private void GrabServerRpc() + { + } + + [ClientRpc] + private void GrabClientRpc() + { + } + + [ServerRpc(RequireOwnership = false)] + private void ActivateItemServerRpc(bool onOff, bool buttonDown) + { + } + + [ClientRpc] + private void ActivateItemClientRpc(bool onOff, bool buttonDown) + { + } + + [ServerRpc(RequireOwnership = false)] + private void DiscardItemServerRpc() + { + } + + [ClientRpc] + private void DiscardItemClientRpc() + { + } + + [ServerRpc(RequireOwnership = false)] + private void UseUpItemBatteriesServerRpc() + { + } + + [ClientRpc] + private void UseUpItemBatteriesClientRpc() + { + } + + [ServerRpc(RequireOwnership = false)] + private void EquipItemServerRpc() + { + } + + [ClientRpc] + private void EquipItemClientRpc() + { + } + + [ServerRpc(RequireOwnership = false)] + private void PocketItemServerRpc() + { + } + + [ClientRpc] + private void PocketItemClientRpc() + { + } + + public void ChangeOwnershipOfProp(ulong clientId) + { + } + + [ServerRpc(RequireOwnership = false)] + private void ChangeOwnershipOfPropServerRpc(ulong NewOwner) + { + } + + public void EnableItemMeshes(bool enable) + { + } + + public Vector3 GetItemFloorPosition(Vector3 startPosition = default(Vector3)) + { + return default(Vector3); + } +} diff --git a/Assets/Scripts/Assembly-CSharp/GrabbableObject.cs.meta b/Assets/Scripts/Assembly-CSharp/GrabbableObject.cs.meta new file mode 100644 index 0000000..f4ebe82 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/GrabbableObject.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2756b3da9f832830294538a558babb97 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/GrabbableObjectEvent.cs b/Assets/Scripts/Assembly-CSharp/GrabbableObjectEvent.cs new file mode 100644 index 0000000..c01bade --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/GrabbableObjectEvent.cs @@ -0,0 +1,7 @@ +using System; +using UnityEngine.Events; + +[Serializable] +public class GrabbableObjectEvent : UnityEvent +{ +} diff --git a/Assets/Scripts/Assembly-CSharp/GrabbableObjectEvent.cs.meta b/Assets/Scripts/Assembly-CSharp/GrabbableObjectEvent.cs.meta new file mode 100644 index 0000000..940961f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/GrabbableObjectEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 542879550fec217448dccf9d92faac44 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/HUDElement.cs b/Assets/Scripts/Assembly-CSharp/HUDElement.cs new file mode 100644 index 0000000..5090b57 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HUDElement.cs @@ -0,0 +1,12 @@ +using System; +using UnityEngine; + +[Serializable] +public class HUDElement +{ + public CanvasGroup canvasGroup; + + public float targetAlpha; + + public Coroutine fadeCoroutine; +} diff --git a/Assets/Scripts/Assembly-CSharp/HUDElement.cs.meta b/Assets/Scripts/Assembly-CSharp/HUDElement.cs.meta new file mode 100644 index 0000000..2eb010a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HUDElement.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8e6110e2cee5b1f4888d59b002f850bd +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/HUDManager.cs b/Assets/Scripts/Assembly-CSharp/HUDManager.cs new file mode 100644 index 0000000..9342a21 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HUDManager.cs @@ -0,0 +1,1523 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using GameNetcodeStuff; +using Steamworks.Data; +using TMPro; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.InputSystem; +using UnityEngine.Rendering; +using UnityEngine.UI; + +public class HUDManager : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003CFadeUIElement_003Ed__237 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public float delay; + + public HUDElement element; + + public float endAlpha; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CFadeUIElement_003Ed__237(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [StructLayout(LayoutKind.Auto)] + [CompilerGenerated] + private struct _003CFillSpectateBoxImageWithSteamProfile_003Ed__212 : IAsyncStateMachine + { + public int _003C_003E1__state; + + public AsyncVoidMethodBuilder _003C_003Et__builder; + + public PlayerControllerB player; + + public RawImage image; + + private TaskAwaiter _003C_003Eu__1; + + private void MoveNext() + { + } + + void IAsyncStateMachine.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + this.MoveNext(); + } + + [DebuggerHidden] + private void SetStateMachine(IAsyncStateMachine stateMachine) + { + } + + void IAsyncStateMachine.SetStateMachine(IAsyncStateMachine stateMachine) + { + //ILSpy generated this explicit interface implementation from .override directive in SetStateMachine + this.SetStateMachine(stateMachine); + } + } + + [CompilerGenerated] + private sealed class _003CForceChangeText_003Ed__264 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public TextMeshProUGUI textToChange; + + public string changeTextTo; + + private int _003Ci_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CForceChangeText_003Ed__264(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CReadOutDialogue_003Ed__240 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public HUDManager _003C_003E4__this; + + public DialogueSegment[] dialogueArray; + + private int _003Ci_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CReadOutDialogue_003Ed__240(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CSetPlayerLevelSmoothly_003Ed__256 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public HUDManager _003C_003E4__this; + + public int XPGain; + + private float _003CchangingPlayerXP_003E5__2; + + private int _003CchangingPlayerLevel_003E5__3; + + private int _003CtargetXPLevel_003E5__4; + + private bool _003CconditionMet_003E5__5; + + private float _003CtimeAtStart_003E5__6; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CSetPlayerLevelSmoothly_003Ed__256(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CTipsPanelTimer_003Ed__274 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public string prefsKey; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CTipsPanelTimer_003Ed__274(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CdisplayScrapTimer_003Ed__262 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public HUDManager _003C_003E4__this; + + public GameObject displayingObject; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CdisplayScrapTimer_003Ed__262(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CdisplayTipTextTimer_003Ed__272 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public HUDManager _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CdisplayTipTextTimer_003Ed__272(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CplayScrapDisplaySFX_003Ed__261 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public HUDManager _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CplayScrapDisplaySFX_003Ed__261(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CrackUpNewQuotaText_003Ed__244 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public HUDManager _003C_003E4__this; + + private int _003CquotaTextAmount_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CrackUpNewQuotaText_003Ed__244(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CscrollRewardsListText_003Ed__242 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public HUDManager _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CscrollRewardsListText_003Ed__242(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CwaitUntilLocalPlayerControllerInitialized_003Ed__197 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public HUDManager _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CwaitUntilLocalPlayerControllerInitialized_003Ed__197(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public HUDElement Inventory; + + public HUDElement Chat; + + public HUDElement PlayerInfo; + + public HUDElement Tooltips; + + public HUDElement InstabilityCounter; + + public HUDElement Clock; + + private HUDElement[] HUDElements; + + public GameObject HUDContainer; + + public Animator playerScreenShakeAnimator; + + public RawImage playerScreenTexture; + + public Volume playerGraphicsVolume; + + public TextMeshProUGUI weightCounter; + + public Animator weightCounterAnimator; + + [Header("Item UI")] + public UnityEngine.UI.Image[] itemSlotIcons; + + public UnityEngine.UI.Image[] itemSlotIconFrames; + + [Header("Tooltips")] + public TextMeshProUGUI[] controlTipLines; + + [Header("Object Scanner")] + private RaycastHit[] scanNodesHit; + + public RectTransform[] scanElements; + + private bool scanElementsHidden; + + private float playerPingingScan; + + private float updateScanInterval; + + private Dictionary scanNodes; + + private List nodesOnScreen; + + private TextMeshProUGUI[] scanElementText; + + public Animator scanEffectAnimator; + + public AudioClip scanSFX; + + public AudioClip addToScrapTotalSFX; + + public AudioClip finishAddingToTotalSFX; + + private float addToDisplayTotalInterval; + + private bool addingToDisplayTotal; + + [Space(3f)] + public TextMeshProUGUI totalValueText; + + public Animator scanInfoAnimator; + + public int totalScrapScanned; + + private int totalScrapScannedDisplayNum; + + private int scannedScrapNum; + + private bool addedToScrapCounterThisFrame; + + [Header("Batteries")] + public UnityEngine.UI.Image batteryIcon; + + public TextMeshProUGUI batteryInventoryNumber; + + public UnityEngine.UI.Image batteryMeter; + + [Header("Audio")] + public AudioSource UIAudio; + + public AudioClip criticalInjury; + + public AudioLowPassFilter audioListenerLowPass; + + public AudioClip globalNotificationSFX; + + [Header("Misc UI elements")] + public TextMeshProUGUI debugText; + + public GameObject errorLogPanel; + + public TextMeshProUGUI errorLogText; + + private string previousErrorReceived; + + public UnityEngine.UI.Image PTTIcon; + + public Animator batteryBlinkUI; + + public TextMeshProUGUI holdingTwoHandedItem; + + public CanvasGroup selfRedCanvasGroup; + + public UnityEngine.UI.Image holdInteractionFillAmount; + + public CanvasGroup holdInteractionCanvasGroup; + + public float holdFillAmount; + + public EndOfGameStatUIElements statsUIElements; + + public Animator gameOverAnimator; + + public Animator quotaAnimator; + + public TextMeshProUGUI HUDQuotaNumerator; + + public TextMeshProUGUI HUDQuotaDenominator; + + public Animator planetIntroAnimator; + + public Animator endgameStatsAnimator; + + public TextMeshProUGUI loadingText; + + public UnityEngine.UI.Image loadingDarkenScreen; + + public TextMeshProUGUI planetInfoSummaryText; + + public TextMeshProUGUI planetInfoHeaderText; + + public TextMeshProUGUI planetRiskLevelText; + + [Header("Text chat")] + public TextMeshProUGUI chatText; + + public TextMeshProUGUI typingIndicator; + + public TMP_InputField chatTextField; + + public string lastChatMessage; + + public List ChatMessageHistory; + + public Animator playerCouldRecieveTextChatAnimator; + + public StartOfRound playersManager; + + public PlayerActions playerActions; + + public PlayerControllerB localPlayer; + + private bool playerIsCriticallyInjured; + + public TextMeshProUGUI instabilityCounterNumber; + + public TextMeshProUGUI instabilityCounterText; + + private int previousInstability; + + private Terminal terminalScript; + + [Header("Special Graphics")] + public Animator alarmHornEffect; + + public AudioClip shipAlarmHornSFX; + + public Animator deviceChangeAnimator; + + public TextMeshProUGUI deviceChangeText; + + public Animator saveDataIconAnimatorB; + + public Animator HUDAnimator; + + public Animator radiationGraphicAnimator; + + public AudioClip radiationWarningAudio; + + public UnityEngine.UI.Image shipLeavingEarlyIcon; + + private float timeSinceDisplayingStatusEffect; + + public Animator statusEffectAnimator; + + public TextMeshProUGUI statusEffectText; + + [Space(3f)] + public bool increaseHelmetCondensation; + + public Material helmetCondensationMaterial; + + [Space(3f)] + public Animator moneyRewardsAnimator; + + public TextMeshProUGUI moneyRewardsTotalText; + + public TextMeshProUGUI moneyRewardsListText; + + private Coroutine scrollRewardTextCoroutine; + + public Scrollbar rewardsScrollbar; + + [Space(3f)] + public CanvasGroup shockTutorialLeftAlpha; + + [Space(3f)] + public CanvasGroup shockTutorialRightAlpha; + + public int tutorialArrowState; + + public bool setTutorialArrow; + + [Space(3f)] + public Animator tipsPanelAnimator; + + public TextMeshProUGUI tipsPanelBody; + + public TextMeshProUGUI tipsPanelHeader; + + public AudioClip[] tipsSFX; + + public AudioClip[] warningSFX; + + private Coroutine tipsPanelCoroutine; + + private bool isDisplayingWarning; + + public Animator globalNotificationAnimator; + + public TextMeshProUGUI globalNotificationText; + + public bool sinkingCoveredFace; + + public Animator sinkingUnderAnimator; + + [Header("Dialogue Box")] + private Coroutine readDialogueCoroutine; + + public TextMeshProUGUI dialogeBoxHeaderText; + + public TextMeshProUGUI dialogeBoxText; + + public Animator dialogueBoxAnimator; + + public AudioSource dialogueBoxSFX; + + public AudioClip[] dialogueBleeps; + + private Coroutine forceChangeTextCoroutine; + + private bool hudHidden; + + [Header("Spectate UI")] + private bool hasLoadedSpectateUI; + + private bool hasGottenPlayerSteamProfilePictures; + + public GameObject spectatingPlayerBoxPrefab; + + public Transform SpectateBoxesContainer; + + private Dictionary spectatingPlayerBoxes; + + private float updateSpectateBoxesInterval; + + private float yOffsetAmount; + + private int boxesAdded; + + public TextMeshProUGUI spectatingPlayerText; + + private bool displayedSpectatorAFKTip; + + public TextMeshProUGUI spectatorTipText; + + public TextMeshProUGUI holdButtonToEndGameEarlyText; + + public TextMeshProUGUI holdButtonToEndGameEarlyVotesText; + + public UnityEngine.UI.Image holdButtonToEndGameEarlyMeter; + + private float holdButtonToEndGameEarlyHoldTime; + + [Header("Time of day UI")] + public TextMeshProUGUI clockNumber; + + public UnityEngine.UI.Image clockIcon; + + public Sprite[] clockIcons; + + private string amPM; + + private string newLine; + + [Space(5f)] + public Animator gasHelmetAnimator; + + public Volume drunknessFilter; + + public CanvasGroup gasImageAlpha; + + public Volume insanityScreenFilter; + + public Volume flashbangScreenFilter; + + public Volume underwaterScreenFilter; + + public bool setUnderwaterFilter; + + public AudioSource breathingUnderwaterAudio; + + [Header("Player levelling")] + public PlayerLevel[] playerLevels; + + public int localPlayerLevel; + + public int localPlayerXP; + + public TextMeshProUGUI playerLevelText; + + public TextMeshProUGUI playerLevelXPCounter; + + public UnityEngine.UI.Image playerLevelMeter; + + public AudioClip levelIncreaseSFX; + + public AudioClip levelDecreaseSFX; + + public AudioClip decreaseXPSFX; + + public AudioClip increaseXPSFX; + + public Animator playerLevelBoxAnimator; + + public AudioSource LevellingAudio; + + [Header("Profit quota/deadline")] + public Animator reachedProfitQuotaAnimator; + + public TextMeshProUGUI newProfitQuotaText; + + public TextMeshProUGUI reachedProfitQuotaBonusText; + + public TextMeshProUGUI profitQuotaDaysLeftText; + + public TextMeshProUGUI profitQuotaDaysLeftText2; + + public AudioClip newProfitQuotaSFX; + + public AudioClip reachedQuotaSFX; + + public AudioClip OneDayToMeetQuotaSFX; + + public AudioClip profitQuotaDaysLeftCalmSFX; + + [Space(3f)] + public Animator playersFiredAnimator; + + public TextMeshProUGUI EndOfRunStatsText; + + public bool displayingNewQuota; + + [Header("Displaying collected scrap")] + public List itemsToBeDisplayed; + + public ScrapItemHUDDisplay[] ScrapItemBoxes; + + private int boxesDisplaying; + + public Coroutine displayingItemCoroutine; + + private int bottomBoxIndex; + + public int bottomBoxYPosition; + + public Material hologramMaterial; + + public AudioClip displayCollectedScrapSFX; + + public AudioClip displayCollectedScrapSFXSmall; + + private int nextBoxIndex; + + [Space(5f)] + public TextMeshProUGUI buildModeControlTip; + + private bool hasSetSavedValues; + + private float noLivingPlayersAtKeyboardTimer; + + public static HUDManager Instance + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + private void Awake() + { + } + + private void Start() + { + } + + private void OnDeviceChange(InputDevice device, InputDeviceChange deviceChange) + { + } + + public void SetSavedValues(int playerObjectId = -1) + { + } + + [IteratorStateMachine(typeof(_003CwaitUntilLocalPlayerControllerInitialized_003Ed__197))] + private IEnumerator waitUntilLocalPlayerControllerInitialized() + { + return null; + } + + public void SetNearDepthOfFieldEnabled(bool enabled) + { + } + + public void UpdateHealthUI(int health, bool hurtPlayer = true) + { + } + + private void AddChatMessage(string chatMessage, string nameOfUserWhoTyped = "") + { + } + + public void AddTextToChatOnServer(string chatMessage, int playerId = -1) + { + } + + [ServerRpc(RequireOwnership = false)] + private void AddPlayerChatMessageServerRpc(string chatMessage, int playerId) + { + } + + [ClientRpc] + private void AddPlayerChatMessageClientRpc(string chatMessage, int playerId) + { + } + + [ServerRpc(RequireOwnership = false)] + private void AddTextMessageServerRpc(string chatMessage) + { + } + + [ClientRpc] + private void AddTextMessageClientRpc(string chatMessage) + { + } + + private void SubmitChat_performed(InputAction.CallbackContext context) + { + } + + private void EnableChat_performed(InputAction.CallbackContext context) + { + } + + private void OpenMenu_performed(InputAction.CallbackContext context) + { + } + + private void PingScan_performed(InputAction.CallbackContext context) + { + } + + private bool CanPlayerScan() + { + return false; + } + + public void UpdateBoxesSpectateUI() + { + } + + [AsyncStateMachine(typeof(_003CFillSpectateBoxImageWithSteamProfile_003Ed__212))] + private void FillSpectateBoxImageWithSteamProfile(RawImage image, PlayerControllerB player) + { + } + + public static Texture2D GetTextureFromImage(Steamworks.Data.Image? image) + { + return null; + } + + public void RemoveSpectateUI() + { + } + + private void UpdateSpectateBoxSpeakerIcons() + { + } + + public void SetSpectatingTextToPlayer(PlayerControllerB playerScript) + { + } + + private void DisplayScrapItemsOnHud() + { + } + + private void SetScreenFilters() + { + } + + private void HelmetCondensationDrops() + { + } + + private void UnderwaterScreenFilters() + { + } + + private void Update() + { + } + + public void SetShipLeaveEarlyVotesText(int votes) + { + } + + private void UpdateScanNodes(PlayerControllerB playerScript) + { + } + + private void AssignNewNodes(PlayerControllerB playerScript) + { + } + + private void AttemptScanNode(ScanNodeProperties node, int i, PlayerControllerB playerScript) + { + } + + private bool MeetsScanNodeRequirements(ScanNodeProperties node, PlayerControllerB playerScript) + { + return false; + } + + private bool NodeIsNotVisible(ScanNodeProperties node, int elementIndex) + { + return false; + } + + private void AssignNodeToUIElement(ScanNodeProperties node) + { + } + + private void DisableAllScanElements() + { + } + + private void AttemptScanNewCreature(int enemyID) + { + } + + [ServerRpc(RequireOwnership = false)] + public void ScanNewCreatureServerRpc(int enemyID) + { + } + + [ClientRpc] + public void ScanNewCreatureClientRpc(int enemyID) + { + } + + [ServerRpc(RequireOwnership = false)] + public void GetNewStoryLogServerRpc(int logID) + { + } + + [ClientRpc] + public void GetNewStoryLogClientRpc(int logID) + { + } + + private void DisplayGlobalNotification(string displayText) + { + } + + public void PingHUDElement(HUDElement element, float delay = 2f, float startAlpha = 1f, float endAlpha = 0.2f) + { + } + + [IteratorStateMachine(typeof(_003CFadeUIElement_003Ed__237))] + private IEnumerator FadeUIElement(HUDElement element, float delay, float endAlpha) + { + return null; + } + + public void HideHUD(bool hide) + { + } + + public void ReadDialogue(DialogueSegment[] dialogueArray) + { + } + + [IteratorStateMachine(typeof(_003CReadOutDialogue_003Ed__240))] + private IEnumerator ReadOutDialogue(DialogueSegment[] dialogueArray) + { + return null; + } + + public void DisplayCreditsEarning(int creditsEarned, GrabbableObject[] objectsSold, int newGroupCredits) + { + } + + [IteratorStateMachine(typeof(_003CscrollRewardsListText_003Ed__242))] + private IEnumerator scrollRewardsListText() + { + return null; + } + + public void DisplayNewDeadline(int overtimeBonus) + { + } + + [IteratorStateMachine(typeof(_003CrackUpNewQuotaText_003Ed__244))] + private IEnumerator rackUpNewQuotaText() + { + return null; + } + + public void DisplayDaysLeft(int daysLeft) + { + } + + public void ShowPlayersFiredScreen(bool show) + { + } + + public void ShakeCamera(ScreenShakeType shakeType) + { + } + + public void ToggleHUD(bool enable) + { + } + + public void FillEndGameStats(EndOfGameStats stats) + { + } + + [ServerRpc] + public void SyncAllPlayerLevelsServerRpc() + { + } + + [ClientRpc] + public void SyncAllPlayerLevelsClientRpc(int[] playerLevelNumbers, bool[] playersHaveBeta) + { + } + + [ServerRpc(RequireOwnership = false)] + public void SyncPlayerLevelServerRpc(int playerId, int playerLevelIndex, bool hasBeta = false) + { + } + + [ClientRpc] + public void SyncPlayerLevelClientRpc(int playerId, int playerLevelIndex, bool hasBeta) + { + } + + public void SetLevelOfPlayer(PlayerControllerB playerScript, int playerLevelIndex, bool hasBeta) + { + } + + public void SetPlayerLevel(bool isDead, bool mostProfitable, bool allPlayersDead) + { + } + + [IteratorStateMachine(typeof(_003CSetPlayerLevelSmoothly_003Ed__256))] + private IEnumerator SetPlayerLevelSmoothly(int XPGain) + { + return null; + } + + public void ApplyPenalty(int playersDead, int bodiesInsured) + { + } + + public void SetQuota(int numerator, int denominator = -1) + { + } + + public void AddNewScrapFoundToDisplay(GrabbableObject GObject) + { + } + + public void DisplayNewScrapFound() + { + } + + [IteratorStateMachine(typeof(_003CplayScrapDisplaySFX_003Ed__261))] + private IEnumerator playScrapDisplaySFX() + { + return null; + } + + [IteratorStateMachine(typeof(_003CdisplayScrapTimer_003Ed__262))] + private IEnumerator displayScrapTimer(GameObject displayingObject) + { + return null; + } + + public void ChangeControlTip(int toolTipNumber, string changeTo, bool clearAllOther = false) + { + } + + [IteratorStateMachine(typeof(_003CForceChangeText_003Ed__264))] + private IEnumerator ForceChangeText(TextMeshProUGUI textToChange, string changeTextTo) + { + return null; + } + + public void ClearControlTips() + { + } + + public void ChangeControlTipMultiple(string[] allLines, bool holdingItem = false, Item itemProperties = null) + { + } + + public void SetDebugText(string setText) + { + } + + public void DisplayStatusEffect(string statusEffect) + { + } + + public void DisplayTip(string headerText, string bodyText, bool isWarning = false, bool useSave = false, string prefsKey = "LC_Tip1") + { + } + + private void DisplaySpectatorVoteTip() + { + } + + private void DisplaySpectatorTip(string tipText) + { + } + + [IteratorStateMachine(typeof(_003CdisplayTipTextTimer_003Ed__272))] + private IEnumerator displayTipTextTimer() + { + return null; + } + + private bool CanTipDisplay(bool isWarning, bool useSave, string prefsKey) + { + return false; + } + + [IteratorStateMachine(typeof(_003CTipsPanelTimer_003Ed__274))] + private IEnumerator TipsPanelTimer(string prefsKey) + { + return null; + } + + public string SetClock(float timeNormalized, float numberOfHours, bool createNewLine = true) + { + return null; + } + + public void SetClockIcon(DayMode dayMode) + { + } + + public void SetClockVisible(bool visible) + { + } + + public void TriggerAlarmHornEffect() + { + } + + [ServerRpc] + public void AlarmHornServerRpc() + { + } + + [ClientRpc] + public void AlarmHornClientRpc() + { + } + + public void RadiationWarningHUD() + { + } + + public void UpdateInstabilityPercentage(int percentage) + { + } + + [ClientRpc] + public void UpdateInstabilityClientRpc(int percentage) + { + } + + public void SetTutorialArrow(int state) + { + } + + public bool HoldInteractionFill(float timeToHold, float speedMultiplier = 1f) + { + return false; + } + + public void ToggleErrorConsole() + { + } + + [ServerRpc(RequireOwnership = false)] + public void SendErrorMessageServerRpc(string errorMessage, int sentByPlayerNum) + { + } + + public void AddToErrorLog(string errorMessage, int sentByPlayerNum) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/HUDManager.cs.meta b/Assets/Scripts/Assembly-CSharp/HUDManager.cs.meta new file mode 100644 index 0000000..13ddc7c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HUDManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 375d690e72a1e07e1d8a7bd5aeb6c542 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/HangarShipDoor.cs b/Assets/Scripts/Assembly-CSharp/HangarShipDoor.cs new file mode 100644 index 0000000..6bdec3a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HangarShipDoor.cs @@ -0,0 +1,55 @@ +using TMPro; +using UnityEngine; + +public class HangarShipDoor : MonoBehaviour +{ + public InteractTrigger triggerScript; + + public TextMeshProUGUI doorPowerDisplay; + + private StartOfRound playersManager; + + public Animator shipDoorsAnimator; + + public bool buttonsEnabled; + + public float doorPower; + + public float doorPowerDuration; + + public bool overheated; + + public bool doorsOpenedInGameOverAnimation; + + public GameObject hydraulicsDisplay; + + private bool hydraulicsScreenDisplayed; + + public void Update() + { + } + + private void SetScreenDisplay() + { + } + + public void PlayDoorAnimation(bool closed) + { + } + + public void SetDoorClosed() + { + } + + public void SetDoorOpen() + { + } + + public void SetDoorButtonsEnabled(bool doorButtonsEnabled) + { + } + + private void Start() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/HangarShipDoor.cs.meta b/Assets/Scripts/Assembly-CSharp/HangarShipDoor.cs.meta new file mode 100644 index 0000000..ee2f9ba --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HangarShipDoor.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: dc9fff3f5d060fe58f3088ba0b4390b7 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/HighAndLowAltitudeAudio.cs b/Assets/Scripts/Assembly-CSharp/HighAndLowAltitudeAudio.cs new file mode 100644 index 0000000..72bc95b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HighAndLowAltitudeAudio.cs @@ -0,0 +1,20 @@ +using UnityEngine; + +public class HighAndLowAltitudeAudio : MonoBehaviour +{ + public AudioSource HighAudio; + + public AudioSource LowAudio; + + public float maxAltitude; + + public float minAltitude; + + private void Update() + { + } + + private void SetAudioVolumeBasedOnAltitude(float playerHeight) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/HighAndLowAltitudeAudio.cs.meta b/Assets/Scripts/Assembly-CSharp/HighAndLowAltitudeAudio.cs.meta new file mode 100644 index 0000000..b361981 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HighAndLowAltitudeAudio.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 8cf28733067a9f04bf4fc1ddee3f09bb +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/HoarderBugAI.cs b/Assets/Scripts/Assembly-CSharp/HoarderBugAI.cs new file mode 100644 index 0000000..36be82a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HoarderBugAI.cs @@ -0,0 +1,240 @@ +using System.Collections.Generic; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.Animations.Rigging; + +public class HoarderBugAI : EnemyAI +{ + public AISearchRoutine searchForItems; + + public AISearchRoutine searchForPlayer; + + [Header("Tracking/Memory")] + [Space(3f)] + public Vector3 nestPosition; + + private bool choseNestPosition; + + [Space(3f)] + public static List HoarderBugItems; + + public static List grabbableObjectsInMap; + + public float angryTimer; + + public GrabbableObject targetItem; + + public HoarderBugItem heldItem; + + [Header("Animations")] + [Space(5f)] + private Vector3 agentLocalVelocity; + + private Vector3 previousPosition; + + private float velX; + + private float velZ; + + public Transform turnCompass; + + private float armsHoldLayerWeight; + + [Space(5f)] + public Transform animationContainer; + + public Transform grabTarget; + + public MultiAimConstraint headLookRig; + + public Transform headLookTarget; + + [Header("Special behaviour states")] + private float annoyanceMeter; + + public bool watchingPlayerNearPosition; + + public PlayerControllerB watchingPlayer; + + public Transform lookTarget; + + public bool lookingAtPositionOfInterest; + + private Vector3 positionOfInterest; + + private bool isAngry; + + [Header("Misc logic")] + private bool sendingGrabOrDropRPC; + + private float waitingAtNestTimer; + + private bool waitingAtNest; + + private float timeSinceSeeingAPlayer; + + [Header("Chase logic")] + private bool lostPlayerInChase; + + private float noticePlayerTimer; + + public PlayerControllerB angryAtPlayer; + + private bool inChase; + + [Header("Audios")] + public AudioClip[] chitterSFX; + + [Header("Audios")] + public AudioClip[] angryScreechSFX; + + public AudioClip angryVoiceSFX; + + public AudioClip bugFlySFX; + + public AudioClip hitPlayerSFX; + + private float timeSinceHittingPlayer; + + private float timeSinceLookingTowardsNoise; + + private float detectPlayersInterval; + + private bool inReturnToNestMode; + + public override void Start() + { + } + + public static void RefreshGrabbableObjectsInMapList() + { + } + + private bool GrabTargetItemIfClose() + { + return false; + } + + private void ChooseNestPosition() + { + } + + [ServerRpc] + private void SyncNestPositionServerRpc(Vector3 newNestPosition) + { + } + + [ClientRpc] + private void SyncNestPositionClientRpc(Vector3 newNestPosition) + { + } + + public override void DoAIInterval() + { + } + + private void SetGoTowardsTargetObject(GameObject foundObject) + { + } + + private void ExitChaseMode() + { + } + + private void SetReturningToNest() + { + } + + private void LateUpdate() + { + } + + private void SetArmLayerWeight() + { + } + + private void CalculateAnimationDirection(float maxSpeed = 1f) + { + } + + private void AnimateLooking() + { + } + + private void DetectAndLookAtPlayers() + { + } + + private bool IsHoarderBugAngry() + { + return false; + } + + public override void Update() + { + } + + public override void DetectNoise(Vector3 noisePosition, float noiseLoudness, int timesPlayedInOneSpot = 0, int noiseID = 0) + { + } + + private void DropItemAndCallDropRPC(NetworkObject dropItemNetworkObject, bool droppedInNest = true) + { + } + + [ServerRpc] + public void DropItemServerRpc(NetworkObjectReference objectRef, Vector3 targetFloorPosition, bool droppedInNest) + { + } + + [ClientRpc] + public void DropItemClientRpc(NetworkObjectReference objectRef, Vector3 targetFloorPosition, bool droppedInNest) + { + } + + [ServerRpc] + public void GrabItemServerRpc(NetworkObjectReference objectRef) + { + } + + [ClientRpc] + public void GrabItemClientRpc(NetworkObjectReference objectRef) + { + } + + private void DropItem(NetworkObject item, Vector3 targetFloorPosition, bool droppingInNest = true) + { + } + + private void GrabItem(NetworkObject item) + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + [ServerRpc(RequireOwnership = false)] + public void HitPlayerServerRpc() + { + } + + [ClientRpc] + public void HitPlayerClientRpc() + { + } + + public override void HitEnemy(int force = 1, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } + + public override void KillEnemy(bool destroy = false) + { + } + + public HoarderBugItem CheckLineOfSightForItem(HoarderBugItemStatus searchForItemsOfStatus = HoarderBugItemStatus.Any, float width = 45f, int range = 60, float proximityAwareness = -1f) + { + return null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/HoarderBugAI.cs.meta b/Assets/Scripts/Assembly-CSharp/HoarderBugAI.cs.meta new file mode 100644 index 0000000..16a38de --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HoarderBugAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 778c06aa867e27785cddc01db200f955 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/HoarderBugItem.cs b/Assets/Scripts/Assembly-CSharp/HoarderBugItem.cs new file mode 100644 index 0000000..58d335f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HoarderBugItem.cs @@ -0,0 +1,14 @@ +using UnityEngine; + +public class HoarderBugItem +{ + public GrabbableObject itemGrabbableObject; + + public Vector3 itemNestPosition; + + public HoarderBugItemStatus status; + + public HoarderBugItem(GrabbableObject newObject, HoarderBugItemStatus newStatus, Vector3 bugNestPosition) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/HoarderBugItem.cs.meta b/Assets/Scripts/Assembly-CSharp/HoarderBugItem.cs.meta new file mode 100644 index 0000000..07dfe8c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HoarderBugItem.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: d69cf70e1fe74ed41b8a901d627c1a28 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/HoarderBugItemStatus.cs b/Assets/Scripts/Assembly-CSharp/HoarderBugItemStatus.cs new file mode 100644 index 0000000..478f316 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HoarderBugItemStatus.cs @@ -0,0 +1,7 @@ +public enum HoarderBugItemStatus +{ + Any = -1, + Owned = 0, + Stolen = 1, + Returned = 2 +} diff --git a/Assets/Scripts/Assembly-CSharp/HoarderBugItemStatus.cs.meta b/Assets/Scripts/Assembly-CSharp/HoarderBugItemStatus.cs.meta new file mode 100644 index 0000000..727d90b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HoarderBugItemStatus.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 40a680af845db4f4c94a3b1de2317970 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/HostSettings.cs b/Assets/Scripts/Assembly-CSharp/HostSettings.cs new file mode 100644 index 0000000..a78caaf --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HostSettings.cs @@ -0,0 +1,10 @@ +public class HostSettings +{ + public string lobbyName; + + public bool isLobbyPublic; + + public HostSettings(string name, bool isPublic) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/HostSettings.cs.meta b/Assets/Scripts/Assembly-CSharp/HostSettings.cs.meta new file mode 100644 index 0000000..bc8eddf --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/HostSettings.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 05a301ab2dfcf4e4b97bd0006180eee5 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/IHittable.cs b/Assets/Scripts/Assembly-CSharp/IHittable.cs new file mode 100644 index 0000000..ff596ab --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/IHittable.cs @@ -0,0 +1,7 @@ +using GameNetcodeStuff; +using UnityEngine; + +public interface IHittable +{ + void Hit(int force, Vector3 hitDirection, PlayerControllerB playerWhoHit = null, bool playHitSFX = false); +} diff --git a/Assets/Scripts/Assembly-CSharp/IHittable.cs.meta b/Assets/Scripts/Assembly-CSharp/IHittable.cs.meta new file mode 100644 index 0000000..99bfb57 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/IHittable.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 9b1b37098487f36d87c46a3c2a9c7010 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/INoiseListener.cs b/Assets/Scripts/Assembly-CSharp/INoiseListener.cs new file mode 100644 index 0000000..258c218 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/INoiseListener.cs @@ -0,0 +1,6 @@ +using UnityEngine; + +public interface INoiseListener +{ + void DetectNoise(Vector3 noisePosition, float noiseLoudness, int timesPlayedInOneSpot, int noiseID); +} diff --git a/Assets/Scripts/Assembly-CSharp/INoiseListener.cs.meta b/Assets/Scripts/Assembly-CSharp/INoiseListener.cs.meta new file mode 100644 index 0000000..0ecabd1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/INoiseListener.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 889a978a5b23a212a07411f8fc6aa895 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/IShockableWithGun.cs b/Assets/Scripts/Assembly-CSharp/IShockableWithGun.cs new file mode 100644 index 0000000..bbdaf20 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/IShockableWithGun.cs @@ -0,0 +1,20 @@ +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public interface IShockableWithGun +{ + float GetDifficultyMultiplier(); + + Vector3 GetShockablePosition(); + + Transform GetShockableTransform(); + + NetworkObject GetNetworkObject(); + + bool CanBeShocked(); + + void StopShockingWithGun(); + + void ShockWithGun(PlayerControllerB shockedByPlayer); +} diff --git a/Assets/Scripts/Assembly-CSharp/IShockableWithGun.cs.meta b/Assets/Scripts/Assembly-CSharp/IShockableWithGun.cs.meta new file mode 100644 index 0000000..02f9472 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/IShockableWithGun.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b910ae1663e261f4e84dc5bd1a0301ca +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/IVisibleThreat.cs b/Assets/Scripts/Assembly-CSharp/IVisibleThreat.cs new file mode 100644 index 0000000..3a4a085 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/IVisibleThreat.cs @@ -0,0 +1,18 @@ +using UnityEngine; + +public interface IVisibleThreat +{ + ThreatType type { get; } + + int GetThreatLevel(Vector3 seenByPosition); + + int GetInterestLevel(); + + Transform GetThreatLookTransform(); + + Transform GetThreatTransform(); + + Vector3 GetThreatVelocity(); + + float GetVisibility(); +} diff --git a/Assets/Scripts/Assembly-CSharp/IVisibleThreat.cs.meta b/Assets/Scripts/Assembly-CSharp/IVisibleThreat.cs.meta new file mode 100644 index 0000000..60a5972 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/IVisibleThreat.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3691e01c0b4b80645859b33bbb90677f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/IngamePlayerSettings.cs b/Assets/Scripts/Assembly-CSharp/IngamePlayerSettings.cs new file mode 100644 index 0000000..50cedba --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/IngamePlayerSettings.cs @@ -0,0 +1,213 @@ +using System; +using System.Runtime.CompilerServices; +using Dissonance; +using UnityEngine; +using UnityEngine.InputSystem; +using UnityEngine.Rendering; +using UnityEngine.SceneManagement; + +public class IngamePlayerSettings : MonoBehaviour +{ + [Serializable] + public class Settings + { + public bool playerHasFinishedSetup; + + public bool startInOnlineMode; + + public float gammaSetting; + + public int lookSensitivity; + + public bool invertYAxis; + + public float masterVolume; + + public int framerateCapIndex; + + public FullScreenMode fullScreenType; + + [Header("MIC SETTINGS")] + public bool micEnabled; + + public bool pushToTalk; + + public int micDeviceIndex; + + public string micDevice; + + [Header("BINDINGS")] + public string keyBindings; + + public Settings(bool finishedSetup = true, bool onlineMode = true) + { + } + + public void CopySettings(Settings copyFrom) + { + } + } + + public Settings settings; + + public Settings unsavedSettings; + + public AudioSource SettingsAudio; + + public Volume universalVolume; + + private DissonanceComms comms; + + public bool redoLaunchSettings; + + public bool changesNotApplied; + + public InputActionRebindingExtensions.RebindingOperation rebindingOperation; + + private SettingsOption currentRebindingKeyUI; + + public PlayerInput playerInput; + + public bool encounteredErrorDuringSave; + + public static IngamePlayerSettings Instance + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + private void Awake() + { + } + + private void DisplaySaveFileError(Exception e) + { + } + + public void LoadSettingsFromPrefs() + { + } + + public void SaveSettingsToPrefs() + { + } + + public void UpdateGameToMatchSettings() + { + } + + public void SetOption(SettingsOptionType optionType, int value) + { + } + + private void SetInvertYAxis() + { + } + + private void SetFullscreenMode(int value) + { + } + + private void SetFramerateCap(int value) + { + } + + public void ChangeGamma(int setTo, float overrideWithFloat = -500f) + { + } + + public void ChangeMasterVolume(int setTo) + { + } + + public void ChangeLookSens(int setTo) + { + } + + public void RefreshAndDisplayCurrentMicrophone(bool saveResult = true) + { + } + + public void SetSettingsOptionsText(SettingsOptionType optionType, string setToText) + { + } + + public void SwitchMicrophoneSetting() + { + } + + public void SetMicrophoneEnabled() + { + } + + public void SetMicPushToTalk() + { + } + + public void UpdateMicPushToTalkButton() + { + } + + public void SetPlayerFinishedLaunchOptions() + { + } + + public void SetLaunchInOnlineMode(bool enable) + { + } + + public void RebindKey(InputActionReference rebindableAction, SettingsOption optionUI) + { + } + + public void CompleteRebind(SettingsOption optionUI) + { + } + + public void CancelRebind(SettingsOption optionUI = null) + { + } + + public void ResetSettingsToDefault() + { + } + + public void SaveChangedSettings() + { + } + + public void DisplayConfirmChangesScreen(bool visible) + { + } + + public void DiscardChangedSettings() + { + } + + private void OnDestroy() + { + } + + private void OnDisable() + { + } + + private void OnEnable() + { + } + + private void OnSceneLoaded(Scene scene, LoadSceneMode loadType) + { + } + + private void SetChangesNotAppliedTextVisible(bool visible = true) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/IngamePlayerSettings.cs.meta b/Assets/Scripts/Assembly-CSharp/IngamePlayerSettings.cs.meta new file mode 100644 index 0000000..9905619 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/IngamePlayerSettings.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: fa2cf69c70f33014db8266dcaad4cd6d +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/InitializeGame.cs b/Assets/Scripts/Assembly-CSharp/InitializeGame.cs new file mode 100644 index 0000000..1eec0f6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/InitializeGame.cs @@ -0,0 +1,102 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; +using UnityEngine.InputSystem; + +public class InitializeGame : MonoBehaviour +{ + [CompilerGenerated] + private sealed class _003CSendToNextScene_003Ed__10 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public InitializeGame _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CSendToNextScene_003Ed__10(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public bool runBootUpScreen; + + public Animator bootUpAnimation; + + public AudioSource bootUpAudio; + + public PlayerActions playerActions; + + private bool canSkip; + + private bool hasSkipped; + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + private void Awake() + { + } + + public void OpenMenu_performed(InputAction.CallbackContext context) + { + } + + [IteratorStateMachine(typeof(_003CSendToNextScene_003Ed__10))] + private IEnumerator SendToNextScene() + { + return null; + } + + private void Start() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/InitializeGame.cs.meta b/Assets/Scripts/Assembly-CSharp/InitializeGame.cs.meta new file mode 100644 index 0000000..800a7a3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/InitializeGame.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 1fe469cc29c0c124b4828c8898e5e3a4 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/IntWithRarity.cs b/Assets/Scripts/Assembly-CSharp/IntWithRarity.cs new file mode 100644 index 0000000..5317d82 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/IntWithRarity.cs @@ -0,0 +1,11 @@ +using System; +using UnityEngine; + +[Serializable] +public class IntWithRarity +{ + public int id; + + [Range(0f, 300f)] + public int rarity; +} diff --git a/Assets/Scripts/Assembly-CSharp/IntWithRarity.cs.meta b/Assets/Scripts/Assembly-CSharp/IntWithRarity.cs.meta new file mode 100644 index 0000000..542f467 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/IntWithRarity.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ab770ef6fcdb614488c5ba7ab14058ba +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/InteractEvent.cs b/Assets/Scripts/Assembly-CSharp/InteractEvent.cs new file mode 100644 index 0000000..46441e0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/InteractEvent.cs @@ -0,0 +1,11 @@ +using System; +using GameNetcodeStuff; +using UnityEngine.Events; + +[Serializable] +public class InteractEvent : UnityEvent +{ + public InteractEvent() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/InteractEvent.cs.meta b/Assets/Scripts/Assembly-CSharp/InteractEvent.cs.meta new file mode 100644 index 0000000..27b3f77 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/InteractEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: a600571b5fde03548a3c0ebe80d9f191 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/InteractEventFloat.cs b/Assets/Scripts/Assembly-CSharp/InteractEventFloat.cs new file mode 100644 index 0000000..98ac5fe --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/InteractEventFloat.cs @@ -0,0 +1,10 @@ +using System; +using UnityEngine.Events; + +[Serializable] +public class InteractEventFloat : UnityEvent +{ + public InteractEventFloat() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/InteractEventFloat.cs.meta b/Assets/Scripts/Assembly-CSharp/InteractEventFloat.cs.meta new file mode 100644 index 0000000..12986f7 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/InteractEventFloat.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: aba6a0388267d2b478f2d23c7b559358 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/InteractTrigger.cs b/Assets/Scripts/Assembly-CSharp/InteractTrigger.cs new file mode 100644 index 0000000..c654ebc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/InteractTrigger.cs @@ -0,0 +1,407 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class InteractTrigger : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003CisSpecialAnimationPlayingTimer_003Ed__65 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public int playerNum; + + public InteractTrigger _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CisSpecialAnimationPlayingTimer_003Ed__65(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CladderClimbAnimation_003Ed__57 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public InteractTrigger _003C_003E4__this; + + public PlayerControllerB playerController; + + private float _003Ctimer_003E5__2; + + private int _003CfinishClimbingLadder_003E5__3; + + private float _003CshorterWaitTime_003E5__4; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CladderClimbAnimation_003Ed__57(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CspecialInteractAnimation_003Ed__61 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public InteractTrigger _003C_003E4__this; + + public PlayerControllerB playerController; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CspecialInteractAnimation_003Ed__61(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [Header("Aesthetics")] + public Sprite hoverIcon; + + public string hoverTip; + + [Space(5f)] + public Sprite disabledHoverIcon; + + public string disabledHoverTip; + + [Header("Interaction")] + public bool interactable; + + public bool oneHandedItemAllowed; + + public bool twoHandedItemAllowed; + + [Space(5f)] + public bool holdInteraction; + + public float timeToHold; + + public float timeToHoldSpeedMultiplier; + + public string holdTip; + + public bool isBeingHeldByPlayer; + + public InteractEventFloat holdingInteractEvent; + + private float timeHeld; + + private bool isHoldingThisFrame; + + [Space(5f)] + public bool touchTrigger; + + public bool triggerOnce; + + private bool hasTriggered; + + [Header("Misc")] + public bool interactCooldown; + + public float cooldownTime; + + [HideInInspector] + public float currentCooldownValue; + + public bool disableTriggerMesh; + + [Space(5f)] + public bool RandomChanceTrigger; + + public int randomChancePercentage; + + [Header("Events")] + public InteractEvent onInteract; + + public InteractEvent onInteractEarly; + + public InteractEvent onStopInteract; + + public InteractEvent onCancelAnimation; + + [Header("Special Animation")] + public bool specialCharacterAnimation; + + public bool stopAnimationManually; + + public string stopAnimationString; + + public bool hidePlayerItem; + + public bool isPlayingSpecialAnimation; + + public float animationWaitTime; + + public string animationString; + + [Space(5f)] + public bool lockPlayerPosition; + + public Transform playerPositionNode; + + private Transform lockedPlayer; + + private bool usedByOtherClient; + + private StartOfRound playersManager; + + private float updateInterval; + + [Header("Ladders")] + public bool isLadder; + + public Transform topOfLadderPosition; + + public bool useRaycastToGetTopPosition; + + public Transform bottomOfLadderPosition; + + public Transform ladderHorizontalPosition; + + [Space(5f)] + public Transform ladderPlayerPositionNode; + + public bool usingLadder; + + private bool atBottomOfLadder; + + private Vector3 moveVelocity; + + private PlayerControllerB playerScriptInSpecialAnimation; + + private Coroutine useLadderCoroutine; + + private int playerUsingId; + + public void StopInteraction() + { + } + + public void HoldInteractNotFilled() + { + } + + public void Interact(Transform playerTransform) + { + } + + private bool LadderPositionObstructed(PlayerControllerB playerController) + { + return false; + } + + [IteratorStateMachine(typeof(_003CladderClimbAnimation_003Ed__57))] + private IEnumerator ladderClimbAnimation(PlayerControllerB playerController) + { + return null; + } + + public void CancelAnimationExternally() + { + } + + public void CancelLadderAnimation() + { + } + + private void SetUsingLadderOnLocalClient(bool isUsing) + { + } + + [IteratorStateMachine(typeof(_003CspecialInteractAnimation_003Ed__61))] + private IEnumerator specialInteractAnimation(PlayerControllerB playerController) + { + return null; + } + + public void StopSpecialAnimation() + { + } + + [ServerRpc(RequireOwnership = false)] + private void UpdateUsedByPlayerServerRpc(int playerNum) + { + } + + [ClientRpc] + private void UpdateUsedByPlayerClientRpc(int playerNum) + { + } + + [IteratorStateMachine(typeof(_003CisSpecialAnimationPlayingTimer_003Ed__65))] + private IEnumerator isSpecialAnimationPlayingTimer(int playerNum) + { + return null; + } + + [ServerRpc(RequireOwnership = false)] + private void StopUsingServerRpc() + { + } + + [ClientRpc] + private void StopUsingClientRpc() + { + } + + public void SetInteractTriggerNotInAnimation() + { + } + + private void LateUpdate() + { + } + + private void Update() + { + } + + private void OnTriggerEnter(Collider other) + { + } + + private void Start() + { + } + + public void SetInteractionToHold(bool mustHold) + { + } + + public void SetInteractionToHoldOpposite(bool mustHold) + { + } + + public void SetRandomTimeToHold(float min, float max) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/InteractTrigger.cs.meta b/Assets/Scripts/Assembly-CSharp/InteractTrigger.cs.meta new file mode 100644 index 0000000..debf6ee --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/InteractTrigger.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 507293d35d7a13e5b9ca9bb60e082e11 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: -80 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Item.cs b/Assets/Scripts/Assembly-CSharp/Item.cs new file mode 100644 index 0000000..4fe2950 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Item.cs @@ -0,0 +1,121 @@ +using System.Collections.Generic; +using UnityEngine; + +[CreateAssetMenu(menuName = "ScriptableObjects/Item", order = 1)] +public class Item : ScriptableObject +{ + public int itemId; + + public string itemName; + + [Space(3f)] + public List spawnPositionTypes; + + [Space(3f)] + public bool twoHanded; + + public bool twoHandedAnimation; + + public bool canBeGrabbedBeforeGameStart; + + [Space(3f)] + public float weight; + + public bool itemIsTrigger; + + public bool holdButtonUse; + + public bool itemSpawnsOnGround; + + [Space(5f)] + public bool isConductiveMetal; + + [Header("Scrap-collection")] + public bool isScrap; + + public int creditsWorth; + + public bool lockedInDemo; + + public int highestSalePercentage; + + [Space(3f)] + public int maxValue; + + public int minValue; + + public GameObject spawnPrefab; + + [Space(3f)] + [Header("Battery")] + public bool requiresBattery; + + public float batteryUsage; + + public bool automaticallySetUsingPower; + + [Space(5f)] + public Sprite itemIcon; + + [Space(5f)] + [Header("Player animations")] + public string grabAnim; + + public string useAnim; + + public string pocketAnim; + + public string throwAnim; + + [Space(5f)] + public float grabAnimationTime; + + [Header("Player SFX")] + public AudioClip grabSFX; + + public AudioClip dropSFX; + + public AudioClip pocketSFX; + + public AudioClip throwSFX; + + [Header("Netcode")] + public bool syncGrabFunction; + + public bool syncUseFunction; + + public bool syncDiscardFunction; + + public bool syncInteractLRFunction; + + [Header("Save data")] + public bool saveItemVariable; + + [Header("MISC")] + public bool isDefensiveWeapon; + + [Space(3f)] + public string[] toolTips; + + public float verticalOffset; + + public int floorYOffset; + + public bool allowDroppingAheadOfPlayer; + + public Vector3 restingRotation; + + public Vector3 rotationOffset; + + public Vector3 positionOffset; + + public bool meshOffset; + + public Mesh[] meshVariants; + + public Material[] materialVariants; + + public bool usableInSpecialAnimations; + + public bool canBeInspected; +} diff --git a/Assets/Scripts/Assembly-CSharp/Item.cs.meta b/Assets/Scripts/Assembly-CSharp/Item.cs.meta new file mode 100644 index 0000000..2b40333 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Item.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: c30496d6ae6d6f907456e10a94e01ec6 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ItemCharger.cs b/Assets/Scripts/Assembly-CSharp/ItemCharger.cs new file mode 100644 index 0000000..59a8914 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ItemCharger.cs @@ -0,0 +1,89 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +public class ItemCharger : MonoBehaviour +{ + [CompilerGenerated] + private sealed class _003CchargeItemDelayed_003Ed__7 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public ItemCharger _003C_003E4__this; + + public GrabbableObject itemToCharge; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CchargeItemDelayed_003Ed__7(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public InteractTrigger triggerScript; + + public Animator chargeStationAnimator; + + private Coroutine chargeItemCoroutine; + + public AudioSource zapAudio; + + private float updateInterval; + + public void ChargeItem() + { + } + + private void Update() + { + } + + [IteratorStateMachine(typeof(_003CchargeItemDelayed_003Ed__7))] + private IEnumerator chargeItemDelayed(GrabbableObject itemToCharge) + { + return null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ItemCharger.cs.meta b/Assets/Scripts/Assembly-CSharp/ItemCharger.cs.meta new file mode 100644 index 0000000..4e3491a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ItemCharger.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 81a934c9cbc59fedd5a2392822e75446 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ItemDropship.cs b/Assets/Scripts/Assembly-CSharp/ItemDropship.cs new file mode 100644 index 0000000..fce5a92 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ItemDropship.cs @@ -0,0 +1,84 @@ +using System.Collections.Generic; +using Unity.Netcode; +using UnityEngine; + +public class ItemDropship : NetworkBehaviour +{ + public bool deliveringOrder; + + public bool shipLanded; + + public bool shipDoorsOpened; + + public Animator shipAnimator; + + public float shipTimer; + + public bool playersFirstOrder; + + private StartOfRound playersManager; + + private Terminal terminalScript; + + private List itemsToDeliver; + + public Transform[] itemSpawnPositions; + + private float noiseInterval; + + private int timesPlayedWithoutTurningOff; + + public InteractTrigger triggerScript; + + private void Start() + { + } + + private void Update() + { + } + + public void TryOpeningShip() + { + } + + [ServerRpc(RequireOwnership = false)] + public void OpenShipServerRpc() + { + } + + private void OpenShipDoorsOnServer() + { + } + + [ClientRpc] + public void OpenShipClientRpc() + { + } + + public void ShipLandedAnimationEvent() + { + } + + private void LandShipOnServer() + { + } + + [ClientRpc] + public void LandShipClientRpc() + { + } + + [ClientRpc] + public void ShipLeaveClientRpc() + { + } + + public void ShipLeave() + { + } + + public void ShipLandedInAnimation() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ItemDropship.cs.meta b/Assets/Scripts/Assembly-CSharp/ItemDropship.cs.meta new file mode 100644 index 0000000..4a5425d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ItemDropship.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b1a86678fffe49d34317e7b693ae7586 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ItemGroup.cs b/Assets/Scripts/Assembly-CSharp/ItemGroup.cs new file mode 100644 index 0000000..943169c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ItemGroup.cs @@ -0,0 +1,7 @@ +using UnityEngine; + +[CreateAssetMenu(menuName = "ScriptableObjects/ItemGroup", order = 2)] +public class ItemGroup : ScriptableObject +{ + public string itemSpawnTypeName; +} diff --git a/Assets/Scripts/Assembly-CSharp/ItemGroup.cs.meta b/Assets/Scripts/Assembly-CSharp/ItemGroup.cs.meta new file mode 100644 index 0000000..bc24b9d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ItemGroup.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 0bf1473be2fdebe220e46d27c67438ea +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/JesterAI.cs b/Assets/Scripts/Assembly-CSharp/JesterAI.cs new file mode 100644 index 0000000..618d7d6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/JesterAI.cs @@ -0,0 +1,169 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class JesterAI : EnemyAI +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass29_0 + { + public PlayerControllerB playerScript; + + public float startTime; + + internal bool _003CkillPlayerAnimation_003Eb__0() + { + return false; + } + } + + [CompilerGenerated] + private sealed class _003CkillPlayerAnimation_003Ed__29 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public JesterAI _003C_003E4__this; + + public int playerId; + + private _003C_003Ec__DisplayClass29_0 _003C_003E8__1; + + private DeadBodyInfo _003Cbody_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CkillPlayerAnimation_003Ed__29(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public AudioSource farAudio; + + public AISearchRoutine roamMap; + + private Vector3 spawnPosition; + + public float popUpTimer; + + public float beginCrankingTimer; + + private int previousState; + + public AudioClip popGoesTheWeaselTheme; + + public AudioClip popUpSFX; + + public AudioClip screamingSFX; + + public AudioClip killPlayerSFX; + + private Vector3 previousPosition; + + public float maxAnimSpeed; + + private float noPlayersToChaseTimer; + + private bool targetingPlayer; + + public Transform headRigTarget; + + public Transform lookForwardTarget; + + public Collider mainCollider; + + private bool inKillAnimation; + + private Coroutine killPlayerAnimCoroutine; + + public Transform grabBodyPoint; + + public override void Start() + { + } + + public override void DoAIInterval() + { + } + + private void CalculateAnimationSpeed(float maxSpeed = 1f) + { + } + + private void SetJesterInitialValues() + { + } + + public override void Update() + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + [ServerRpc(RequireOwnership = false)] + public void KillPlayerServerRpc(int playerId) + { + } + + [ClientRpc] + public void CancelKillPlayerClientRpc() + { + } + + [ClientRpc] + public void KillPlayerClientRpc(int playerId) + { + } + + [IteratorStateMachine(typeof(_003CkillPlayerAnimation_003Ed__29))] + private IEnumerator killPlayerAnimation(int playerId) + { + return null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/JesterAI.cs.meta b/Assets/Scripts/Assembly-CSharp/JesterAI.cs.meta new file mode 100644 index 0000000..e694c0d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/JesterAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: ba0d30729d41ae011aa2620fa32186f5 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/JetpackItem.cs b/Assets/Scripts/Assembly-CSharp/JetpackItem.cs new file mode 100644 index 0000000..9a0c334 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/JetpackItem.cs @@ -0,0 +1,100 @@ +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class JetpackItem : GrabbableObject +{ + public Transform backPart; + + public Vector3 backPartRotationOffset; + + public Vector3 backPartPositionOffset; + + private float jetpackPower; + + private bool jetpackActivated; + + private Vector3 forces; + + private bool jetpackActivatedPreviousFrame; + + public GameObject fireEffect; + + public AudioSource jetpackAudio; + + public AudioSource jetpackBeepsAudio; + + public AudioClip startJetpackSFX; + + public AudioClip jetpackSustainSFX; + + public AudioClip jetpackBrokenSFX; + + public AudioClip jetpackWarningBeepSFX; + + public AudioClip jetpackLowBatteriesSFX; + + public ParticleSystem smokeTrailParticle; + + private PlayerControllerB previousPlayerHeldBy; + + private bool jetpackBroken; + + private bool jetpackPlayingWarningBeep; + + private bool jetpackPlayingLowBatteryBeep; + + private float noiseInterval; + + private RaycastHit rayHit; + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } + + private void DeactivateJetpack() + { + } + + private void ActivateJetpack() + { + } + + private void JetpackEffect(bool enable) + { + } + + public override void UseUpBatteries() + { + } + + public override void DiscardItem() + { + } + + [ServerRpc(RequireOwnership = false)] + public void ExplodeJetpackServerRpc() + { + } + + [ClientRpc] + public void ExplodeJetpackClientRpc() + { + } + + public override void EquipItem() + { + } + + public override void Update() + { + } + + private void SetJetpackAudios() + { + } + + public override void LateUpdate() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/JetpackItem.cs.meta b/Assets/Scripts/Assembly-CSharp/JetpackItem.cs.meta new file mode 100644 index 0000000..b31d246 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/JetpackItem.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 5d47bc9fbc592068974a1e4b5484aa80 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: -20 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/KeyItem.cs b/Assets/Scripts/Assembly-CSharp/KeyItem.cs new file mode 100644 index 0000000..ca3f657 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/KeyItem.cs @@ -0,0 +1,6 @@ +public class KeyItem : GrabbableObject +{ + public override void ItemActivate(bool used, bool buttonDown = true) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/KeyItem.cs.meta b/Assets/Scripts/Assembly-CSharp/KeyItem.cs.meta new file mode 100644 index 0000000..609285e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/KeyItem.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b87503194bf04c760a21c5bb1b0278db +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/KillLocalPlayer.cs b/Assets/Scripts/Assembly-CSharp/KillLocalPlayer.cs new file mode 100644 index 0000000..7536c4f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/KillLocalPlayer.cs @@ -0,0 +1,33 @@ +using GameNetcodeStuff; +using UnityEngine; + +public class KillLocalPlayer : MonoBehaviour +{ + public bool dontSpawnBody; + + public CauseOfDeath causeOfDeath; + + public bool justDamage; + + public StartOfRound playersManager; + + public int deathAnimation; + + [Space(5f)] + public RoundManager roundManager; + + public Transform spawnEnemyPosition; + + [Space(5f)] + public int enemySpawnNumber; + + public int playAudioOnDeath; + + public void KillPlayer(PlayerControllerB playerWhoTriggered) + { + } + + public void SpawnEnemy() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/KillLocalPlayer.cs.meta b/Assets/Scripts/Assembly-CSharp/KillLocalPlayer.cs.meta new file mode 100644 index 0000000..bd37093 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/KillLocalPlayer.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 64c6de9b64f5fa50ab3e1e87d281e1ee +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Landmine.cs b/Assets/Scripts/Assembly-CSharp/Landmine.cs new file mode 100644 index 0000000..3e48d5a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Landmine.cs @@ -0,0 +1,242 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class Landmine : NetworkBehaviour, IHittable +{ + [CompilerGenerated] + private sealed class _003CStartIdleAnimation_003Ed__22 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public Landmine _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CStartIdleAnimation_003Ed__22(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CTriggerOtherMineDelayed_003Ed__31 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public Landmine mine; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CTriggerOtherMineDelayed_003Ed__31(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + private bool mineActivated; + + public bool hasExploded; + + public ParticleSystem explosionParticle; + + public Animator mineAnimator; + + public AudioSource mineAudio; + + public AudioSource mineFarAudio; + + public AudioClip mineDetonate; + + public AudioClip mineTrigger; + + public AudioClip mineDetonateFar; + + public AudioClip mineDeactivate; + + public AudioClip minePress; + + private bool sendingExplosionRPC; + + private RaycastHit hit; + + private RoundManager roundManager; + + private float pressMineDebounceTimer; + + private bool localPlayerOnMine; + + private void Start() + { + } + + private void Update() + { + } + + public void ToggleMine(bool enabled) + { + } + + [ServerRpc(RequireOwnership = false)] + public void ToggleMineServerRpc(bool enable) + { + } + + [ClientRpc] + public void ToggleMineClientRpc(bool enable) + { + } + + public void ToggleMineEnabledLocalClient(bool enabled) + { + } + + [IteratorStateMachine(typeof(_003CStartIdleAnimation_003Ed__22))] + private IEnumerator StartIdleAnimation() + { + return null; + } + + private void OnTriggerEnter(Collider other) + { + } + + [ServerRpc(RequireOwnership = false)] + public void PressMineServerRpc() + { + } + + [ClientRpc] + public void PressMineClientRpc() + { + } + + private void OnTriggerExit(Collider other) + { + } + + private void TriggerMineOnLocalClientByExiting() + { + } + + [ServerRpc(RequireOwnership = false)] + public void ExplodeMineServerRpc() + { + } + + [ClientRpc] + public void ExplodeMineClientRpc() + { + } + + public void SetOffMineAnimation() + { + } + + [IteratorStateMachine(typeof(_003CTriggerOtherMineDelayed_003Ed__31))] + private IEnumerator TriggerOtherMineDelayed(Landmine mine) + { + return null; + } + + public void Detonate() + { + } + + public static void SpawnExplosion(Vector3 explosionPosition, bool spawnExplosionEffect = false, float killRange = 1f, float damageRange = 1f) + { + } + + public bool MineHasLineOfSight(Vector3 pos) + { + return false; + } + + void IHittable.Hit(int force, Vector3 hitDirection, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/Landmine.cs.meta b/Assets/Scripts/Assembly-CSharp/Landmine.cs.meta new file mode 100644 index 0000000..c0aac60 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Landmine.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: cc736a09eae56a91a4d22fe0c4ed26ae +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/LassoManAI.cs b/Assets/Scripts/Assembly-CSharp/LassoManAI.cs new file mode 100644 index 0000000..1169d1a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LassoManAI.cs @@ -0,0 +1,73 @@ +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class LassoManAI : EnemyAI +{ + public AISearchRoutine searchForPlayers; + + private float checkLineOfSightInterval; + + public float maxSearchAndRoamRadius; + + [Space(5f)] + public float noticePlayerTimer; + + private bool hasEnteredChaseMode; + + private bool lostPlayerInChase; + + private bool beginningChasingThisClient; + + private float timeSinceHittingPlayer; + + public DeadBodyInfo currentlyHeldBody; + + public override void Start() + { + } + + public override void DoAIInterval() + { + } + + public override void FinishedCurrentSearchRoutine() + { + } + + public override void Update() + { + } + + [ServerRpc(RequireOwnership = false)] + public void BeginChasingPlayerServerRpc(int playerObjectId) + { + } + + [ClientRpc] + public void BeginChasingPlayerClientRpc(int playerObjectId) + { + } + + [ServerRpc] + public void MakeScreechNoiseServerRpc() + { + } + + [ClientRpc] + public void MakeScreechNoiseClientRpc() + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + public override void KillEnemy(bool destroy = false) + { + } + + public override void HitEnemy(int force = 1, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/LassoManAI.cs.meta b/Assets/Scripts/Assembly-CSharp/LassoManAI.cs.meta new file mode 100644 index 0000000..a8d3ae0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LassoManAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: aff3ff4b51526c0ba2a05cab3c48ec8b +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/LevelAmbienceLibrary.cs b/Assets/Scripts/Assembly-CSharp/LevelAmbienceLibrary.cs new file mode 100644 index 0000000..587df6c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LevelAmbienceLibrary.cs @@ -0,0 +1,21 @@ +using UnityEngine; + +[CreateAssetMenu(menuName = "ScriptableObjects/LevelAmbience", order = 2)] +public class LevelAmbienceLibrary : ScriptableObject +{ + public AudioClip[] insanityMusicAudios; + + public AudioClip[] insideAmbience; + + public RandomAudioClip[] insideAmbienceInsanity; + + [Space(15f)] + public AudioClip[] shipAmbience; + + public RandomAudioClip[] shipAmbienceInsanity; + + [Space(15f)] + public AudioClip[] outsideAmbience; + + public RandomAudioClip[] outsideAmbienceInsanity; +} diff --git a/Assets/Scripts/Assembly-CSharp/LevelAmbienceLibrary.cs.meta b/Assets/Scripts/Assembly-CSharp/LevelAmbienceLibrary.cs.meta new file mode 100644 index 0000000..ef1246c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LevelAmbienceLibrary.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 4128def65e82d58b0be476ddc923330a +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/LevelGenerationManager.cs b/Assets/Scripts/Assembly-CSharp/LevelGenerationManager.cs new file mode 100644 index 0000000..063a496 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LevelGenerationManager.cs @@ -0,0 +1,19 @@ +using DunGen; +using UnityEngine; + +public class LevelGenerationManager : MonoBehaviour +{ + public RuntimeDungeon dungeonGenerator; + + private StartOfRound playersManager; + + private RoundManager roundManager; + + private void Awake() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/LevelGenerationManager.cs.meta b/Assets/Scripts/Assembly-CSharp/LevelGenerationManager.cs.meta new file mode 100644 index 0000000..31a2600 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LevelGenerationManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 1696ad6ea5ecc4dde348bd0db1d03453 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/LevelWeatherType.cs b/Assets/Scripts/Assembly-CSharp/LevelWeatherType.cs new file mode 100644 index 0000000..e4a9c91 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LevelWeatherType.cs @@ -0,0 +1,10 @@ +public enum LevelWeatherType +{ + None = -1, + DustClouds = 0, + Rainy = 1, + Stormy = 2, + Foggy = 3, + Flooded = 4, + Eclipsed = 5 +} diff --git a/Assets/Scripts/Assembly-CSharp/LevelWeatherType.cs.meta b/Assets/Scripts/Assembly-CSharp/LevelWeatherType.cs.meta new file mode 100644 index 0000000..740efcf --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LevelWeatherType.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 174fafae804b0be4b913996f227d99a3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/LobbySlot.cs b/Assets/Scripts/Assembly-CSharp/LobbySlot.cs new file mode 100644 index 0000000..06bae4c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LobbySlot.cs @@ -0,0 +1,39 @@ +using Steamworks; +using Steamworks.Data; +using TMPro; +using UnityEngine; + +public class LobbySlot : MonoBehaviour +{ + public MenuManager menuScript; + + public TextMeshProUGUI LobbyName; + + public TextMeshProUGUI playerCount; + + public SteamId lobbyId; + + public Lobby thisLobby; + + private static Coroutine timeOutLobbyRefreshCoroutine; + + private void Awake() + { + } + + public void JoinButton() + { + } + + public static void JoinLobbyAfterVerifying(Lobby lobby, SteamId lobbyId) + { + } + + public static void OnLobbyDataRefresh(Lobby lobby) + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/LobbySlot.cs.meta b/Assets/Scripts/Assembly-CSharp/LobbySlot.cs.meta new file mode 100644 index 0000000..f355670 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LobbySlot.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 575d265786229624a175bca9451b463f +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/LockPicker.cs b/Assets/Scripts/Assembly-CSharp/LockPicker.cs new file mode 100644 index 0000000..0a550e8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LockPicker.cs @@ -0,0 +1,144 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using Unity.Netcode; +using UnityEngine; + +public class LockPicker : GrabbableObject +{ + [CompilerGenerated] + private sealed class _003CsetRotationOnDoor_003Ed__18 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public LockPicker _003C_003E4__this; + + public bool lockPicker1; + + public DoorLock doorScript; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CsetRotationOnDoor_003Ed__18(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public AudioClip[] placeLockPickerClips; + + public AudioClip[] finishPickingLockClips; + + public Animator armsAnimator; + + private Ray ray; + + private RaycastHit hit; + + public bool isPickingLock; + + public bool isOnDoor; + + public DoorLock currentlyPickingDoor; + + private bool placeOnLockPicker1; + + private AudioSource lockPickerAudio; + + private Coroutine setRotationCoroutine; + + public override void EquipItem() + { + } + + public override void Start() + { + } + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } + + private Vector3 GetLockPickerDoorPosition(DoorLock doorScript) + { + return default(Vector3); + } + + [ServerRpc(RequireOwnership = false)] + public void PlaceLockPickerServerRpc(NetworkObjectReference doorObject, bool lockPicker1) + { + } + + [ClientRpc] + public void PlaceLockPickerClientRpc(NetworkObjectReference doorObject, bool lockPicker1) + { + } + + public void PlaceOnDoor(DoorLock doorScript, bool lockPicker1) + { + } + + [IteratorStateMachine(typeof(_003CsetRotationOnDoor_003Ed__18))] + private IEnumerator setRotationOnDoor(DoorLock doorScript, bool lockPicker1) + { + return null; + } + + private void FinishPickingLock() + { + } + + private void RetractClaws() + { + } + + public override void Update() + { + } + + [ClientRpc] + public void FinishPickingClientRpc() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/LockPicker.cs.meta b/Assets/Scripts/Assembly-CSharp/LockPicker.cs.meta new file mode 100644 index 0000000..5741091 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LockPicker.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 262dc4cfc82f5f5be24030a4f9762d08 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/LungProp.cs b/Assets/Scripts/Assembly-CSharp/LungProp.cs new file mode 100644 index 0000000..925e156 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LungProp.cs @@ -0,0 +1,105 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +public class LungProp : GrabbableObject +{ + [CompilerGenerated] + private sealed class _003CDisconnectFromMachinery_003Ed__13 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public LungProp _003C_003E4__this; + + private GameObject _003CnewSparkParticle_003E5__2; + + private AudioSource _003CthisAudio_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CDisconnectFromMachinery_003Ed__13(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public bool isLungPowered; + + public bool isLungDocked; + + public bool isLungDockedInElevator; + + public RoundManager roundManager; + + public GameObject sparkParticle; + + private Coroutine disconnectAnimation; + + public AudioClip connectSFX; + + public AudioClip disconnectSFX; + + public AudioClip removeFromMachineSFX; + + public float lungDeviceLightIntensity; + + public MeshRenderer lungDeviceMesh; + + private Color emissiveColor; + + public override void EquipItem() + { + } + + [IteratorStateMachine(typeof(_003CDisconnectFromMachinery_003Ed__13))] + private IEnumerator DisconnectFromMachinery() + { + return null; + } + + public override void Start() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/LungProp.cs.meta b/Assets/Scripts/Assembly-CSharp/LungProp.cs.meta new file mode 100644 index 0000000..9770a7b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/LungProp.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a6b64db6f35cbe9cb4f4a0f49e681cf5 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ManualCameraRenderer.cs b/Assets/Scripts/Assembly-CSharp/ManualCameraRenderer.cs new file mode 100644 index 0000000..6514186 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ManualCameraRenderer.cs @@ -0,0 +1,224 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class ManualCameraRenderer : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003CupdateMapTarget_003Ed__44 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public ManualCameraRenderer _003C_003E4__this; + + public int setRadarTargetIndex; + + public bool calledFromRPC; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CupdateMapTarget_003Ed__44(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public Camera cam; + + public CameraView[] cameraViews; + + public int cameraViewIndex; + + public bool currentCameraDisabled; + + [Space(5f)] + public MeshRenderer mesh; + + public Material offScreenMat; + + public Material onScreenMat; + + public int materialIndex; + + private bool isScreenOn; + + public bool overrideCameraForOtherUse; + + public bool renderAtLowerFramerate; + + public float fps; + + private float elapsed; + + public PlayerControllerB targetedPlayer; + + public List radarTargets; + + public int targetTransformIndex; + + public Camera mapCamera; + + public Light mapCameraLight; + + public Animator mapCameraAnimator; + + private bool mapCameraMaxFramerate; + + private Coroutine updateMapCameraCoroutine; + + private bool syncingTargetPlayer; + + private bool syncingSwitchScreen; + + private bool screenEnabledOnLocalClient; + + private Vector3 targetDeathPosition; + + public Transform mapCameraStationaryUI; + + public Transform shipArrowPointer; + + public GameObject shipArrowUI; + + private void Start() + { + } + + private void Awake() + { + } + + public void SwitchScreenButton() + { + } + + public void SwitchScreenOn(bool on = true) + { + } + + [ServerRpc(RequireOwnership = false)] + public void SwitchScreenOnServerRpc(bool on) + { + } + + [ClientRpc] + public void SwitchScreenOnClientRpc(bool on) + { + } + + public void SwitchCameraView(bool switchForward = true, int switchToView = -1) + { + } + + public string AddTransformAsTargetToRadar(Transform newTargetTransform, string targetName, bool isNonPlayer = false) + { + return null; + } + + public void ChangeNameOfTargetTransform(Transform t, string newName) + { + } + + public void SyncOrderOfRadarBoostersInList() + { + } + + public void PingRadarBooster(int targetId) + { + } + + public void RemoveTargetFromRadar(Transform removeTransform) + { + } + + public void SwitchRadarTargetForward(bool callRPC) + { + } + + public void SwitchRadarTargetAndSync(int switchToIndex) + { + } + + private int GetRadarTargetIndexPlusOne(int index) + { + return 0; + } + + private int GetRadarTargetIndexMinusOne(int index) + { + return 0; + } + + [IteratorStateMachine(typeof(_003CupdateMapTarget_003Ed__44))] + private IEnumerator updateMapTarget(int setRadarTargetIndex, bool calledFromRPC = true) + { + return null; + } + + [ServerRpc(RequireOwnership = false)] + public void SwitchRadarTargetServerRpc(int targetIndex) + { + } + + [ClientRpc] + public void SwitchRadarTargetClientRpc(int switchToIndex) + { + } + + private void MapCameraFocusOnPosition(Vector3 pos) + { + } + + private void Update() + { + } + + private bool MeetsCameraEnabledConditions(PlayerControllerB player) + { + return false; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ManualCameraRenderer.cs.meta b/Assets/Scripts/Assembly-CSharp/ManualCameraRenderer.cs.meta new file mode 100644 index 0000000..39e5c8f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ManualCameraRenderer.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 6b4c44e05b0e806cd35eab4eba641123 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/MapDevice.cs b/Assets/Scripts/Assembly-CSharp/MapDevice.cs new file mode 100644 index 0000000..3f2991e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/MapDevice.cs @@ -0,0 +1,93 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; + +public class MapDevice : GrabbableObject +{ + [CompilerGenerated] + private sealed class _003CpingMapSystem_003Ed__6 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public MapDevice _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CpingMapSystem_003Ed__6(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public Camera mapCamera; + + public Animator mapAnimatorTransition; + + public Light mapLight; + + private Coroutine pingMapCoroutine; + + public override void Start() + { + } + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } + + [IteratorStateMachine(typeof(_003CpingMapSystem_003Ed__6))] + private IEnumerator pingMapSystem() + { + return null; + } + + public override void DiscardItem() + { + } + + public override void EquipItem() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/MapDevice.cs.meta b/Assets/Scripts/Assembly-CSharp/MapDevice.cs.meta new file mode 100644 index 0000000..c9774a0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/MapDevice.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 791f42801541622d1691261fde5e5ea4 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/MatchLocalPlayerPosition.cs b/Assets/Scripts/Assembly-CSharp/MatchLocalPlayerPosition.cs new file mode 100644 index 0000000..31ec1b5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/MatchLocalPlayerPosition.cs @@ -0,0 +1,8 @@ +using UnityEngine; + +public class MatchLocalPlayerPosition : MonoBehaviour +{ + private void LateUpdate() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/MatchLocalPlayerPosition.cs.meta b/Assets/Scripts/Assembly-CSharp/MatchLocalPlayerPosition.cs.meta new file mode 100644 index 0000000..c942b01 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/MatchLocalPlayerPosition.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2ec87fecbf72ff5990ae58bd3ab9561f +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/MenuManager.cs b/Assets/Scripts/Assembly-CSharp/MenuManager.cs new file mode 100644 index 0000000..e3b4739 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/MenuManager.cs @@ -0,0 +1,386 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using Dissonance; +using Steamworks; +using TMPro; +using UnityEngine; +using UnityEngine.UI; + +public class MenuManager : MonoBehaviour +{ + [CompilerGenerated] + private sealed class _003CPlayMenuMusicDelayed_003Ed__53 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public MenuManager _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CPlayMenuMusicDelayed_003Ed__53(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CconnectionTimeOut_003Ed__55 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public MenuManager _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CconnectionTimeOut_003Ed__55(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CdelayedStartScene_003Ed__61 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public MenuManager _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CdelayedStartScene_003Ed__61(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public GameObject menuButtons; + + public bool isInitScene; + + [Space(5f)] + public GameObject menuNotification; + + public TextMeshProUGUI menuNotificationText; + + public TextMeshProUGUI menuNotificationButtonText; + + public TextMeshProUGUI versionNumberText; + + [Space(5f)] + public TextMeshProUGUI loadingText; + + public GameObject loadingScreen; + + [Space(5f)] + public GameObject lanButtonContainer; + + public GameObject lanWarningContainer; + + public GameObject joinCrewButtonContainer; + + public TextMeshProUGUI launchedInLanModeText; + + [Space(3f)] + public GameObject serverListUIContainer; + + public AudioListener menuListener; + + public TextMeshProUGUI tipTextHostSettings; + + [Space(5f)] + public TextMeshProUGUI logText; + + public GameObject inputFieldGameObject; + + [Space(5f)] + public GameObject NewsPanel; + + [Space(5f)] + public GameObject HostSettingsScreen; + + public TMP_InputField lobbyNameInputField; + + public bool hostSettings_LobbyPublic; + + public Animator setPublicButtonAnimator; + + public Animator setPrivateButtonAnimator; + + public TextMeshProUGUI privatePublicDescription; + + [SerializeField] + private Button startHostButton; + + [SerializeField] + private Button startClientButton; + + [SerializeField] + private Button leaveButton; + + public GameObject HostSettingsOptionsLAN; + + public GameObject HostSettingsOptionsNormal; + + public Animator lanSetLocalButtonAnimator; + + public Animator lanSetAllowRemoteButtonAnimator; + + [SerializeField] + private TMP_InputField joinCodeInput; + + private bool hasServerStarted; + + private bool startingAClient; + + private int currentMicrophoneDevice; + + public TextMeshProUGUI currentMicrophoneText; + + public DissonanceComms comms; + + public AudioSource MenuAudio; + + public AudioClip menuMusic; + + public AudioClip openMenuSound; + + public Animator menuAnimator; + + public TextMeshProUGUI changesNotAppliedText; + + public TextMeshProUGUI settingsBackButton; + + public GameObject PleaseConfirmChangesSettingsPanel; + + public Button PleaseConfirmChangesSettingsPanelBackButton; + + private bool selectingUIThisFrame; + + private GameObject lastSelectedGameObject; + + private bool playSelectAudioThisFrame; + + public bool[] filesCompatible; + + private void Update() + { + } + + public void PlayConfirmSFX() + { + } + + public void PlayCancelSFX() + { + } + + private void Awake() + { + } + + [IteratorStateMachine(typeof(_003CPlayMenuMusicDelayed_003Ed__53))] + private IEnumerator PlayMenuMusicDelayed() + { + return null; + } + + private void Start() + { + } + + [IteratorStateMachine(typeof(_003CconnectionTimeOut_003Ed__55))] + private IEnumerator connectionTimeOut() + { + return null; + } + + public void SetLoadingScreen(bool isLoading, RoomEnter result = RoomEnter.Error, string overrideMessage = "") + { + } + + public void DisplayMenuNotification(string notificationText, string buttonText) + { + } + + public void StartConnectionTimeOutTimer() + { + } + + public void StartAClient() + { + } + + public void StartHosting() + { + } + + [IteratorStateMachine(typeof(_003CdelayedStartScene_003Ed__61))] + private IEnumerator delayedStartScene() + { + return null; + } + + private void OnEnable() + { + } + + public void ClickHostButton() + { + } + + public void ConfirmHostButton() + { + } + + public void LAN_HostSetLocal() + { + } + + public void LAN_HostSetAllowRemoteConnections() + { + } + + public void HostSetLobbyPublic(bool setPublic = false) + { + } + + public void FilledRoomNameField() + { + } + + public void EnableUIPanel(GameObject enablePanel) + { + } + + public void DisableUIPanel(GameObject enablePanel) + { + } + + private void ClickJoinButton() + { + } + + private void ClickQuitButton() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/MenuManager.cs.meta b/Assets/Scripts/Assembly-CSharp/MenuManager.cs.meta new file mode 100644 index 0000000..1731127 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/MenuManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b8f9d2c89608619afdb87c6175810fa8 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/MiscAnimation.cs b/Assets/Scripts/Assembly-CSharp/MiscAnimation.cs new file mode 100644 index 0000000..960311d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/MiscAnimation.cs @@ -0,0 +1,14 @@ +using System; +using UnityEngine; + +[Serializable] +public class MiscAnimation +{ + public string AnimString; + + public AudioClip AnimVoiceclip; + + public float AnimLength; + + public int priority; +} diff --git a/Assets/Scripts/Assembly-CSharp/MiscAnimation.cs.meta b/Assets/Scripts/Assembly-CSharp/MiscAnimation.cs.meta new file mode 100644 index 0000000..fad2d2d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/MiscAnimation.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: ebf2972d89590ac42add732b40a68fbb +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/MonsterAnimation.cs b/Assets/Scripts/Assembly-CSharp/MonsterAnimation.cs new file mode 100644 index 0000000..75c5895 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/MonsterAnimation.cs @@ -0,0 +1,14 @@ +using System; +using UnityEngine; + +[Serializable] +public class MonsterAnimation +{ + public Animator monsterAnimator; + + public Transform monsterAnimatorGrabTarget; + + public Transform monsterAnimatorGrabPoint; + + public bool animatorCollidedOnClient; +} diff --git a/Assets/Scripts/Assembly-CSharp/MonsterAnimation.cs.meta b/Assets/Scripts/Assembly-CSharp/MonsterAnimation.cs.meta new file mode 100644 index 0000000..c543a5b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/MonsterAnimation.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: aaa91e5cf8956304b81f5993e0730b30 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/MouthDogAI.cs b/Assets/Scripts/Assembly-CSharp/MouthDogAI.cs new file mode 100644 index 0000000..144977b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/MouthDogAI.cs @@ -0,0 +1,362 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.Animations.Rigging; + +public class MouthDogAI : EnemyAI, INoiseListener, IVisibleThreat +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass60_0 + { + public PlayerControllerB killPlayer; + + public float startTime; + + internal bool _003CKillPlayer_003Eb__0() + { + return false; + } + } + + [CompilerGenerated] + private sealed class _003CKillPlayer_003Ed__60 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public MouthDogAI _003C_003E4__this; + + public int playerId; + + private _003C_003Ec__DisplayClass60_0 _003C_003E8__1; + + private Quaternion _003CrotateTo_003E5__2; + + private Quaternion _003CrotateFrom_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CKillPlayer_003Ed__60(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CenterChaseMode_003Ed__45 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public MouthDogAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CenterChaseMode_003Ed__45(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public float noiseApproximation; + + public int suspicionLevel; + + private Vector3 previousPosition; + + public DampedTransform neckDampedTransform; + + private RoundManager roundManager; + + private float AITimer; + + private List allAINodesWithinRange; + + private bool hasEnteredChaseModeFully; + + private bool startedChaseModeCoroutine; + + public AudioClip screamSFX; + + public AudioClip breathingSFX; + + public AudioClip killPlayerSFX; + + private float hearNoiseCooldown; + + private bool inLunge; + + private float lungeCooldown; + + private bool inKillAnimation; + + public Transform mouthGrip; + + public bool endingLunge; + + private Ray ray; + + private RaycastHit rayHit; + + private Vector3 lastHeardNoisePosition; + + private Vector3 noisePositionGuess; + + private float lastHeardNoiseDistanceWhenHeard; + + private bool heardOtherHowl; + + private DeadBodyInfo carryingBody; + + private System.Random enemyRandom; + + private Coroutine killPlayerCoroutine; + + private const int suspicionThreshold = 5; + + private const int alertThreshold = 9; + + private const int maxSuspicionLevel = 11; + + public AISearchRoutine roamPlanet; + + private Collider debugCollider; + + private float timeSinceHittingOtherEnemy; + + ThreatType IVisibleThreat.type => default(ThreatType); + + int IVisibleThreat.GetThreatLevel(Vector3 seenByPosition) + { + return 0; + } + + int IVisibleThreat.GetInterestLevel() + { + return 0; + } + + Transform IVisibleThreat.GetThreatLookTransform() + { + return null; + } + + Transform IVisibleThreat.GetThreatTransform() + { + return null; + } + + Vector3 IVisibleThreat.GetThreatVelocity() + { + return default(Vector3); + } + + float IVisibleThreat.GetVisibility() + { + return 0f; + } + + public override void DoAIInterval() + { + } + + public override void Start() + { + } + + public override void Update() + { + } + + private void SearchForPreviouslyHeardSound() + { + } + + [IteratorStateMachine(typeof(_003CenterChaseMode_003Ed__45))] + private IEnumerator enterChaseMode() + { + return null; + } + + private void CallAllDogsWithHowl() + { + } + + public void ReactToOtherDogHowl(Vector3 howlPosition) + { + } + + public override void DetectNoise(Vector3 noisePosition, float noiseLoudness, int timesNoisePlayedInOneSpot = 0, int noiseID = 0) + { + } + + private void EnrageDogOnLocalClient(Vector3 targetPosition, float distanceToNoise, bool approximatePosition = true, bool fullyEnrage = false) + { + } + + private void EnterLunge() + { + } + + [ServerRpc(RequireOwnership = false)] + public void EndLungeServerRpc() + { + } + + [ClientRpc] + public void EndLungeClientRpc() + { + } + + private void ChaseLocalPlayer() + { + } + + public override void HitEnemy(int force = 1, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } + + public override void OnCollideWithEnemy(Collider other, EnemyAI collidedEnemy = null) + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + [ServerRpc(RequireOwnership = false)] + public void KillPlayerServerRpc(int playerId) + { + } + + [ClientRpc] + public void CancelKillAnimationWithPlayerClientRpc(int playerObjectId) + { + } + + [ClientRpc] + public void KillPlayerClientRpc(int playerId) + { + } + + [IteratorStateMachine(typeof(_003CKillPlayer_003Ed__60))] + private IEnumerator KillPlayer(int playerId) + { + return null; + } + + private void StopKillAnimation() + { + } + + [ServerRpc(RequireOwnership = false)] + public void StopKillAnimationServerRpc() + { + } + + [ClientRpc] + public void StopKillAnimationClientRpc() + { + } + + private void TakeBodyInMouth(DeadBodyInfo body) + { + } + + private void DropCarriedBody() + { + } + + public override void KillEnemy(bool destroy = false) + { + } + + public override void EnableEnemyMesh(bool enable, bool overrideDoNotSet = false) + { + } + + public override void OnDrawGizmos() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/MouthDogAI.cs.meta b/Assets/Scripts/Assembly-CSharp/MouthDogAI.cs.meta new file mode 100644 index 0000000..429a16a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/MouthDogAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: f28dea0105b5dcfb9ed30ad357b56306 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/NetworkRigidbodyModifiable.cs b/Assets/Scripts/Assembly-CSharp/NetworkRigidbodyModifiable.cs new file mode 100644 index 0000000..88f91ae --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/NetworkRigidbodyModifiable.cs @@ -0,0 +1,44 @@ +using Unity.Netcode; +using Unity.Netcode.Components; +using UnityEngine; + +[RequireComponent(typeof(Rigidbody))] +[RequireComponent(typeof(NetworkTransform))] +public class NetworkRigidbodyModifiable : NetworkBehaviour +{ + private Rigidbody m_Rigidbody; + + private NetworkTransform m_NetworkTransform; + + private bool m_OriginalKinematic; + + public bool kinematicOnOwner; + + public bool nonKinematicWhenDropping; + + private RigidbodyInterpolation m_OriginalInterpolation; + + private bool m_IsAuthority; + + private bool HasAuthority => false; + + private void Awake() + { + } + + private void FixedUpdate() + { + } + + public void UpdateRigidbodyKinematicMode() + { + } + + public override void OnNetworkSpawn() + { + } + + public override void OnNetworkDespawn() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/NetworkRigidbodyModifiable.cs.meta b/Assets/Scripts/Assembly-CSharp/NetworkRigidbodyModifiable.cs.meta new file mode 100644 index 0000000..bf052d6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/NetworkRigidbodyModifiable.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b73f308bec46b175b69da00c61cf2e22 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/NewBehaviourScript.cs b/Assets/Scripts/Assembly-CSharp/NewBehaviourScript.cs new file mode 100644 index 0000000..d48bf39 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/NewBehaviourScript.cs @@ -0,0 +1,12 @@ +using UnityEngine; + +public class NewBehaviourScript : MonoBehaviour +{ + private void Start() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/NewBehaviourScript.cs.meta b/Assets/Scripts/Assembly-CSharp/NewBehaviourScript.cs.meta new file mode 100644 index 0000000..86de7a0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/NewBehaviourScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 327b302a4a712522fc3f00161d62e2aa +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/NoisemakerProp.cs b/Assets/Scripts/Assembly-CSharp/NoisemakerProp.cs new file mode 100644 index 0000000..1f49261 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/NoisemakerProp.cs @@ -0,0 +1,37 @@ +using System; +using UnityEngine; + +public class NoisemakerProp : GrabbableObject +{ + public AudioSource noiseAudio; + + public AudioSource noiseAudioFar; + + [Space(3f)] + public AudioClip[] noiseSFX; + + public AudioClip[] noiseSFXFar; + + [Space(3f)] + public float noiseRange; + + public float maxLoudness; + + public float minLoudness; + + public float minPitch; + + public float maxPitch; + + private System.Random noisemakerRandom; + + public Animator triggerAnimator; + + public override void Start() + { + } + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/NoisemakerProp.cs.meta b/Assets/Scripts/Assembly-CSharp/NoisemakerProp.cs.meta new file mode 100644 index 0000000..6dede9f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/NoisemakerProp.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: e47a20a28c3465c9e978f827ff3840ff +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/OccludeAudio.cs b/Assets/Scripts/Assembly-CSharp/OccludeAudio.cs new file mode 100644 index 0000000..374c572 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/OccludeAudio.cs @@ -0,0 +1,31 @@ +using UnityEngine; + +[RequireComponent(typeof(AudioSource))] +public class OccludeAudio : MonoBehaviour +{ + private AudioLowPassFilter lowPassFilter; + + private AudioReverbFilter reverbFilter; + + public bool useReverb; + + private bool occluded; + + private AudioSource thisAudio; + + private float checkInterval; + + public bool overridingLowPass; + + public float lowPassOverride; + + public bool debugLog; + + private void Start() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/OccludeAudio.cs.meta b/Assets/Scripts/Assembly-CSharp/OccludeAudio.cs.meta new file mode 100644 index 0000000..6bd85b0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/OccludeAudio.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 04f75356a7e9c978bddc7d568e58a50b +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/OnSwitchPowerEvent.cs b/Assets/Scripts/Assembly-CSharp/OnSwitchPowerEvent.cs new file mode 100644 index 0000000..25586f1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/OnSwitchPowerEvent.cs @@ -0,0 +1,10 @@ +using System; +using UnityEngine.Events; + +[Serializable] +public class OnSwitchPowerEvent : UnityEvent +{ + public OnSwitchPowerEvent() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/OnSwitchPowerEvent.cs.meta b/Assets/Scripts/Assembly-CSharp/OnSwitchPowerEvent.cs.meta new file mode 100644 index 0000000..891dfc5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/OnSwitchPowerEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0b443910457e45745a4cb7cea7cce9a3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/OutOfBoundsTrigger.cs b/Assets/Scripts/Assembly-CSharp/OutOfBoundsTrigger.cs new file mode 100644 index 0000000..dd48795 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/OutOfBoundsTrigger.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +public class OutOfBoundsTrigger : MonoBehaviour +{ + private StartOfRound playersManager; + + public bool disableWhenRoundStarts; + + private void Start() + { + } + + private void OnTriggerEnter(Collider other) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/OutOfBoundsTrigger.cs.meta b/Assets/Scripts/Assembly-CSharp/OutOfBoundsTrigger.cs.meta new file mode 100644 index 0000000..9715842 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/OutOfBoundsTrigger.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 51dcf4e2e173225ce65e411b7840f143 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PatcherTool.cs b/Assets/Scripts/Assembly-CSharp/PatcherTool.cs new file mode 100644 index 0000000..a72d657 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PatcherTool.cs @@ -0,0 +1,509 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using DigitalRuby.ThunderAndLightning; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class PatcherTool : GrabbableObject +{ + [CompilerGenerated] + private sealed class _003CScanGun_003Ed__76 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PatcherTool _003C_003E4__this; + + private int _003Ci_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CScanGun_003Ed__76(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CbeginShockGame_003Ed__78 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public IShockableWithGun shockableScript; + + public PatcherTool _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CbeginShockGame_003Ed__78(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CstopShocking_003Ed__82 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PatcherTool _003C_003E4__this; + + public PlayerControllerB playerController; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CstopShocking_003Ed__82(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CwaitForStartOfRoundInstance_003Ed__73 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PatcherTool _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CwaitForStartOfRoundInstance_003Ed__73(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [Space(15f)] + public float gunAnomalyDamage; + + public bool isShocking; + + public IShockableWithGun shockedTargetScript; + + [Space(15f)] + public Light flashlightBulb; + + public Light flashlightBulbGlow; + + public AudioSource mainAudio; + + public AudioSource shockAudio; + + public AudioSource gunAudio; + + public AudioClip[] activateClips; + + public AudioClip[] beginShockClips; + + public AudioClip[] overheatClips; + + public AudioClip[] finishShockClips; + + public AudioClip outOfBatteriesClip; + + public AudioClip detectAnomaly; + + public AudioClip scanAnomaly; + + public Material bulbLight; + + public Material bulbDark; + + public Animator effectAnimator; + + public Animator gunAnimator; + + public ParticleSystem overheatParticle; + + private Coroutine scanGunCoroutine; + + private Coroutine beginShockCoroutine; + + public Transform aimDirection; + + private int anomalyMask; + + private int roomMask; + + private RaycastHit hit; + + private Ray ray; + + public GameObject lightningObject; + + public Transform lightningDest; + + public Transform lightningBend1; + + public Transform lightningBend2; + + private Vector3 shockVectorMidpoint; + + [Header("Shock difficulty variables")] + public float bendStrengthCap; + + public float endStrengthCap; + + private float currentEndStrengthCap; + + public float bendChangeSpeedMultiplier; + + public float endChangeSpeedMultiplier; + + private float currentEndChangeSpeedMultiplier; + + public float pullStrength; + + public float endPullStrength; + + private float currentEndPullStrength; + + public float maxChangePerFrame; + + public float endChangePerFrame; + + private float currentEndChangePerFrame; + + [HideInInspector] + public float bendMultiplier; + + [HideInInspector] + private float bendRandomizerShift; + + [HideInInspector] + private Vector3 bendVector; + + public float gunOverheat; + + [HideInInspector] + private bool sentStopShockingRPC; + + [HideInInspector] + private bool wasShockingPreviousFrame; + + private LightningSplineScript lightningScript; + + private System.Random gunRandom; + + private int timesUsed; + + private bool lightningVisible; + + private float minigameChecksInterval; + + private float timeSpentShocking; + + private float makeAudibleNoiseTimer; + + public static int finishedShockMinigame; + + private RaycastHit[] raycastEnemies; + + private bool isScanning; + + private float currentDifficultyMultiplier; + + private PlayerControllerB previousPlayerHeldBy; + + public override void Start() + { + } + + public override void OnDestroy() + { + } + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } + + private void PlayRandomAudio(AudioSource audioSource, AudioClip[] audioClips) + { + } + + private bool GunMeetsConditionsToShock(PlayerControllerB playerUsingGun, Vector3 targetPosition, float maxAngle = 80f) + { + return false; + } + + public override void LateUpdate() + { + } + + private void AdjustDifficultyValues() + { + } + + private void InitialDifficultyValues() + { + } + + private float SetCurrentDifficultyValue(float max, float min) + { + return 0f; + } + + public void ShiftBendRandomizer() + { + } + + private void OnEnable() + { + } + + [IteratorStateMachine(typeof(_003CwaitForStartOfRoundInstance_003Ed__73))] + private IEnumerator waitForStartOfRoundInstance() + { + return null; + } + + private void OnDisable() + { + } + + private void OnSwitchCamera() + { + } + + [IteratorStateMachine(typeof(_003CScanGun_003Ed__76))] + private IEnumerator ScanGun() + { + return null; + } + + public void BeginShockingAnomalyOnClient(IShockableWithGun shockableScript) + { + } + + [IteratorStateMachine(typeof(_003CbeginShockGame_003Ed__78))] + private IEnumerator beginShockGame(IShockableWithGun shockableScript) + { + return null; + } + + private void StartShockAudios() + { + } + + public void StopShockingAnomalyOnClient(bool failed = false) + { + } + + private void SetFinishedShockMinigameTutorial() + { + } + + [IteratorStateMachine(typeof(_003CstopShocking_003Ed__82))] + private IEnumerator stopShocking(PlayerControllerB playerController) + { + return null; + } + + [ServerRpc(RequireOwnership = false)] + public void ShockPatcherToolServerRpc(NetworkObjectReference netObject) + { + } + + [ClientRpc] + public void ShockPatcherToolClientRpc(NetworkObjectReference netObject) + { + } + + [ServerRpc(RequireOwnership = false)] + public void StopShockingServerRpc() + { + } + + [ClientRpc] + public void StopShockingClientRpc() + { + } + + public override void UseUpBatteries() + { + } + + public override void PocketItem() + { + } + + public override void DiscardItem() + { + } + + private void DisablePatcherGun() + { + } + + public override void EquipItem() + { + } + + public void SwitchFlashlight(bool on) + { + } + + private float RandomFloatInRange(System.Random rand, float min, float max) + { + return 0f; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/PatcherTool.cs.meta b/Assets/Scripts/Assembly-CSharp/PatcherTool.cs.meta new file mode 100644 index 0000000..b7329b9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PatcherTool.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a05485158d38be94653ca4a22519e513 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PhysicsKnockbackOnHit.cs b/Assets/Scripts/Assembly-CSharp/PhysicsKnockbackOnHit.cs new file mode 100644 index 0000000..8750dc9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PhysicsKnockbackOnHit.cs @@ -0,0 +1,12 @@ +using GameNetcodeStuff; +using UnityEngine; + +[RequireComponent(typeof(Rigidbody))] +public class PhysicsKnockbackOnHit : MonoBehaviour, IHittable +{ + public AudioClip playSFX; + + public void Hit(int force, Vector3 hitDirection, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/PhysicsKnockbackOnHit.cs.meta b/Assets/Scripts/Assembly-CSharp/PhysicsKnockbackOnHit.cs.meta new file mode 100644 index 0000000..9a3e090 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PhysicsKnockbackOnHit.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2cb83ec5af44a29ee2796d80fd4c3d7f +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PhysicsProp.cs b/Assets/Scripts/Assembly-CSharp/PhysicsProp.cs new file mode 100644 index 0000000..82cadd5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PhysicsProp.cs @@ -0,0 +1,3 @@ +public class PhysicsProp : GrabbableObject +{ +} diff --git a/Assets/Scripts/Assembly-CSharp/PhysicsProp.cs.meta b/Assets/Scripts/Assembly-CSharp/PhysicsProp.cs.meta new file mode 100644 index 0000000..0d9b058 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PhysicsProp.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 3d0cf24d2ccc3b7eab72048d0f57c437 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PlaceableObjectsSurface.cs b/Assets/Scripts/Assembly-CSharp/PlaceableObjectsSurface.cs new file mode 100644 index 0000000..ef9ca84 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlaceableObjectsSurface.cs @@ -0,0 +1,27 @@ +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class PlaceableObjectsSurface : NetworkBehaviour +{ + public NetworkObject parentTo; + + public Collider placeableBounds; + + public InteractTrigger triggerScript; + + private float checkHoverTipInterval; + + private void Update() + { + } + + public void PlaceObject(PlayerControllerB playerWhoTriggered) + { + } + + private Vector3 itemPlacementPosition(Transform gameplayCamera, GrabbableObject heldObject) + { + return default(Vector3); + } +} diff --git a/Assets/Scripts/Assembly-CSharp/PlaceableObjectsSurface.cs.meta b/Assets/Scripts/Assembly-CSharp/PlaceableObjectsSurface.cs.meta new file mode 100644 index 0000000..c274bf0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlaceableObjectsSurface.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 81b93ad4f3af1c1bacfc80390c9dd31b +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PlaceableShipObject.cs b/Assets/Scripts/Assembly-CSharp/PlaceableShipObject.cs new file mode 100644 index 0000000..8a4def3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlaceableShipObject.cs @@ -0,0 +1,38 @@ +using UnityEngine; + +public class PlaceableShipObject : MonoBehaviour +{ + public int unlockableID; + + public AudioClip placeObjectSFX; + + public AutoParentToShip parentObject; + + public Transform parentObjectSecondary; + + [Space(3f)] + public MeshFilter mainMesh; + + public Transform mainTransform; + + public Collider placeObjectCollider; + + public float yOffset; + + [Space(3f)] + public bool overrideWallOffset; + + public float wallOffset; + + public Vector3 collisionPointCheck; + + public bool doCollisionPointCheck; + + [Space(5f)] + public bool AllowPlacementOnWalls; + + public bool AllowPlacementOnCounters; + + [Space(3f)] + public bool inUse; +} diff --git a/Assets/Scripts/Assembly-CSharp/PlaceableShipObject.cs.meta b/Assets/Scripts/Assembly-CSharp/PlaceableShipObject.cs.meta new file mode 100644 index 0000000..6d3c2a8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlaceableShipObject.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: df8a8ec1fb4e08d01a3bd16540b76614 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PlayAudioAnimationEvent.cs b/Assets/Scripts/Assembly-CSharp/PlayAudioAnimationEvent.cs new file mode 100644 index 0000000..9dd6551 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayAudioAnimationEvent.cs @@ -0,0 +1,108 @@ +using UnityEngine; +using UnityEngine.Events; + +public class PlayAudioAnimationEvent : MonoBehaviour +{ + public AudioSource audioToPlay; + + public AudioSource audioToPlayB; + + public AudioClip audioClip; + + public AudioClip audioClip2; + + public AudioClip audioClip3; + + public AudioClip[] randomClips; + + public AudioClip[] randomClips2; + + public bool randomizePitch; + + public ParticleSystem particle; + + public UnityEvent onAnimationEventCalled; + + public GameObject destroyObject; + + private float timeAtStart; + + public bool playAudibleNoise; + + private void Start() + { + } + + public void PlayAudio1() + { + } + + public void PlayAudio1RandomClip() + { + } + + public void PlayAudio2RandomClip() + { + } + + public void PlayAudioB1() + { + } + + public void PlayParticle() + { + } + + public void PlayParticleWithChildren() + { + } + + public void StopParticle() + { + } + + public void PlayAudio1Oneshot() + { + } + + public void PlayAudio2() + { + } + + public void PlayAudioB2() + { + } + + public void PlayAudio2Oneshot() + { + } + + public void PlayAudio3Oneshot() + { + } + + public void StopAudio() + { + } + + public void PauseAudio() + { + } + + public void PlayAudio1DefaultClip() + { + } + + public void OnAnimationEvent() + { + } + + private bool TooEarlySinceInitializing() + { + return false; + } + + public void DestroyObject() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/PlayAudioAnimationEvent.cs.meta b/Assets/Scripts/Assembly-CSharp/PlayAudioAnimationEvent.cs.meta new file mode 100644 index 0000000..e0638b3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayAudioAnimationEvent.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: c5a15fd86cfe211173eb68d9b08fcff2 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PlayerActions.cs b/Assets/Scripts/Assembly-CSharp/PlayerActions.cs new file mode 100644 index 0000000..094201d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayerActions.cs @@ -0,0 +1,282 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Runtime.CompilerServices; +using UnityEngine.InputSystem; +using UnityEngine.InputSystem.Utilities; + +public class PlayerActions : IInputActionCollection2, IInputActionCollection, IEnumerable, IEnumerable, IDisposable +{ + public struct MovementActions + { + private PlayerActions m_Wrapper; + + public InputAction Look => null; + + public InputAction Move => null; + + public InputAction Jump => null; + + public InputAction Sprint => null; + + public InputAction OpenMenu => null; + + public InputAction Interact => null; + + public InputAction Crouch => null; + + public InputAction Use => null; + + public InputAction ActivateItem => null; + + public InputAction Discard => null; + + public InputAction SwitchItem => null; + + public InputAction QEItemInteract => null; + + public InputAction EnableChat => null; + + public InputAction SubmitChat => null; + + public InputAction ReloadBatteries => null; + + public InputAction SetFreeCamera => null; + + public InputAction InspectItem => null; + + public InputAction SpeedCheat => null; + + public InputAction PingScan => null; + + public InputAction VoiceButton => null; + + public InputAction Emote1 => null; + + public InputAction Emote2 => null; + + public InputAction BuildMode => null; + + public InputAction ConfirmBuildMode => null; + + public InputAction Delete => null; + + public bool enabled => false; + + public InputActionMap Get() + { + return null; + } + + public void Enable() + { + } + + public void Disable() + { + } + + public static implicit operator InputActionMap(MovementActions set) + { + return null; + } + + public void AddCallbacks(IMovementActions instance) + { + } + + private void UnregisterCallbacks(IMovementActions instance) + { + } + + public void RemoveCallbacks(IMovementActions instance) + { + } + + public void SetCallbacks(IMovementActions instance) + { + } + } + + public interface IMovementActions + { + void OnLook(InputAction.CallbackContext context); + + void OnMove(InputAction.CallbackContext context); + + void OnJump(InputAction.CallbackContext context); + + void OnSprint(InputAction.CallbackContext context); + + void OnOpenMenu(InputAction.CallbackContext context); + + void OnInteract(InputAction.CallbackContext context); + + void OnCrouch(InputAction.CallbackContext context); + + void OnUse(InputAction.CallbackContext context); + + void OnActivateItem(InputAction.CallbackContext context); + + void OnDiscard(InputAction.CallbackContext context); + + void OnSwitchItem(InputAction.CallbackContext context); + + void OnQEItemInteract(InputAction.CallbackContext context); + + void OnEnableChat(InputAction.CallbackContext context); + + void OnSubmitChat(InputAction.CallbackContext context); + + void OnReloadBatteries(InputAction.CallbackContext context); + + void OnSetFreeCamera(InputAction.CallbackContext context); + + void OnInspectItem(InputAction.CallbackContext context); + + void OnSpeedCheat(InputAction.CallbackContext context); + + void OnPingScan(InputAction.CallbackContext context); + + void OnVoiceButton(InputAction.CallbackContext context); + + void OnEmote1(InputAction.CallbackContext context); + + void OnEmote2(InputAction.CallbackContext context); + + void OnBuildMode(InputAction.CallbackContext context); + + void OnConfirmBuildMode(InputAction.CallbackContext context); + + void OnDelete(InputAction.CallbackContext context); + } + + private readonly InputActionMap m_Movement; + + private List m_MovementActionsCallbackInterfaces; + + private readonly InputAction m_Movement_Look; + + private readonly InputAction m_Movement_Move; + + private readonly InputAction m_Movement_Jump; + + private readonly InputAction m_Movement_Sprint; + + private readonly InputAction m_Movement_OpenMenu; + + private readonly InputAction m_Movement_Interact; + + private readonly InputAction m_Movement_Crouch; + + private readonly InputAction m_Movement_Use; + + private readonly InputAction m_Movement_ActivateItem; + + private readonly InputAction m_Movement_Discard; + + private readonly InputAction m_Movement_SwitchItem; + + private readonly InputAction m_Movement_QEItemInteract; + + private readonly InputAction m_Movement_EnableChat; + + private readonly InputAction m_Movement_SubmitChat; + + private readonly InputAction m_Movement_ReloadBatteries; + + private readonly InputAction m_Movement_SetFreeCamera; + + private readonly InputAction m_Movement_InspectItem; + + private readonly InputAction m_Movement_SpeedCheat; + + private readonly InputAction m_Movement_PingScan; + + private readonly InputAction m_Movement_VoiceButton; + + private readonly InputAction m_Movement_Emote1; + + private readonly InputAction m_Movement_Emote2; + + private readonly InputAction m_Movement_BuildMode; + + private readonly InputAction m_Movement_ConfirmBuildMode; + + private readonly InputAction m_Movement_Delete; + + public InputActionAsset asset + { + [CompilerGenerated] + get + { + return null; + } + } + + public InputBinding? bindingMask + { + get + { + return null; + } + set + { + } + } + + public ReadOnlyArray? devices + { + get + { + return null; + } + set + { + } + } + + public ReadOnlyArray controlSchemes => default(ReadOnlyArray); + + public IEnumerable bindings => null; + + public MovementActions Movement => default(MovementActions); + + public void Dispose() + { + } + + public bool Contains(InputAction action) + { + return false; + } + + public IEnumerator GetEnumerator() + { + return null; + } + + IEnumerator IEnumerable.GetEnumerator() + { + return null; + } + + public void Enable() + { + } + + public void Disable() + { + } + + public InputAction FindAction(string actionNameOrId, bool throwIfNotFound = false) + { + return null; + } + + public int FindBinding(InputBinding bindingMask, out InputAction action) + { + action = null; + return 0; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/PlayerActions.cs.meta b/Assets/Scripts/Assembly-CSharp/PlayerActions.cs.meta new file mode 100644 index 0000000..b7b111c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayerActions.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 844c3bd2ff4926a4c8712f445aff401e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PlayerAnimationEvents.cs b/Assets/Scripts/Assembly-CSharp/PlayerAnimationEvents.cs new file mode 100644 index 0000000..143c167 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayerAnimationEvents.cs @@ -0,0 +1,27 @@ +using GameNetcodeStuff; +using UnityEngine; + +public class PlayerAnimationEvents : MonoBehaviour +{ + public PlayerControllerB thisPlayerController; + + public void PlayFootstepServer() + { + } + + public void PlayFootstepLocal() + { + } + + public void LimpForward() + { + } + + public void LockArmsToCamera() + { + } + + public void UnlockArmsFromCamera() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/PlayerAnimationEvents.cs.meta b/Assets/Scripts/Assembly-CSharp/PlayerAnimationEvents.cs.meta new file mode 100644 index 0000000..358ed98 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayerAnimationEvents.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b65bfbd5994de13ec6d4b9219712f09e +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PlayerLevel.cs b/Assets/Scripts/Assembly-CSharp/PlayerLevel.cs new file mode 100644 index 0000000..dc01cf0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayerLevel.cs @@ -0,0 +1,14 @@ +using System; +using UnityEngine; + +[Serializable] +public class PlayerLevel +{ + public string levelName; + + public int XPMin; + + public int XPMax; + + public Mesh badgeMesh; +} diff --git a/Assets/Scripts/Assembly-CSharp/PlayerLevel.cs.meta b/Assets/Scripts/Assembly-CSharp/PlayerLevel.cs.meta new file mode 100644 index 0000000..032c92a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayerLevel.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 53bb5981a7b08634d90ea0ee15cdc3d1 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PlayerListSlot.cs b/Assets/Scripts/Assembly-CSharp/PlayerListSlot.cs new file mode 100644 index 0000000..fb84d12 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayerListSlot.cs @@ -0,0 +1,22 @@ +using System; +using TMPro; +using UnityEngine; +using UnityEngine.UI; + +[Serializable] +public class PlayerListSlot +{ + public GameObject slotContainer; + + public GameObject volumeSliderContainer; + + public GameObject KickUserButton; + + public bool isConnected; + + public TextMeshProUGUI usernameHeader; + + public Slider volumeSlider; + + public ulong playerSteamId; +} diff --git a/Assets/Scripts/Assembly-CSharp/PlayerListSlot.cs.meta b/Assets/Scripts/Assembly-CSharp/PlayerListSlot.cs.meta new file mode 100644 index 0000000..3ba0c00 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayerListSlot.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 390e0810fd98a854cb9bc9a42d41465e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PlayerStats.cs b/Assets/Scripts/Assembly-CSharp/PlayerStats.cs new file mode 100644 index 0000000..068590b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayerStats.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; + +[Serializable] +public class PlayerStats +{ + public int profitable; + + public int turnAmount; + + public int jumps; + + public int stepsTaken; + + public int damageTaken; + + public bool isActivePlayer; + + public List playerNotes; +} diff --git a/Assets/Scripts/Assembly-CSharp/PlayerStats.cs.meta b/Assets/Scripts/Assembly-CSharp/PlayerStats.cs.meta new file mode 100644 index 0000000..8dd5eb5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayerStats.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3bc38ece1d74dd845b83886e4c8ef6d0 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PlayerVoiceIngameSettings.cs b/Assets/Scripts/Assembly-CSharp/PlayerVoiceIngameSettings.cs new file mode 100644 index 0000000..c9beb75 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayerVoiceIngameSettings.cs @@ -0,0 +1,44 @@ +using Dissonance; +using Dissonance.Audio.Playback; +using UnityEngine; + +public class PlayerVoiceIngameSettings : MonoBehaviour +{ + public AudioReverbFilter filter; + + public AudioSource voiceAudio; + + public VoicePlayback _playbackComponent; + + public DissonanceComms _dissonanceComms; + + public VoicePlayerState _playerState; + + public bool set2D; + + private bool isEnabled; + + private void Awake() + { + } + + public void InitializeComponents() + { + } + + private void LateUpdate() + { + } + + private void OnEnable() + { + } + + public void FindPlayerIfNull() + { + } + + private void OnDisable() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/PlayerVoiceIngameSettings.cs.meta b/Assets/Scripts/Assembly-CSharp/PlayerVoiceIngameSettings.cs.meta new file mode 100644 index 0000000..51e23ef --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PlayerVoiceIngameSettings.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 626ecd0bbe211f8d2121fd989275cd07 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PowerSwitchEvent.cs b/Assets/Scripts/Assembly-CSharp/PowerSwitchEvent.cs new file mode 100644 index 0000000..13109ab --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PowerSwitchEvent.cs @@ -0,0 +1,8 @@ +using UnityEngine.Events; + +public class PowerSwitchEvent : UnityEvent +{ + public PowerSwitchEvent() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/PowerSwitchEvent.cs.meta b/Assets/Scripts/Assembly-CSharp/PowerSwitchEvent.cs.meta new file mode 100644 index 0000000..562ca59 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PowerSwitchEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: c4e795fe48693b144b733b8fe214aa67 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PowerSwitchable.cs b/Assets/Scripts/Assembly-CSharp/PowerSwitchable.cs new file mode 100644 index 0000000..43ecdcb --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PowerSwitchable.cs @@ -0,0 +1,18 @@ +using UnityEngine; + +public class PowerSwitchable : MonoBehaviour +{ + public OnSwitchPowerEvent powerSwitchEvent; + + public void OnPowerSwitch(bool switchedOn) + { + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/PowerSwitchable.cs.meta b/Assets/Scripts/Assembly-CSharp/PowerSwitchable.cs.meta new file mode 100644 index 0000000..368dca6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PowerSwitchable.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 898bacac74241c5172ef6300f7b279a8 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PreInitSceneScript.cs b/Assets/Scripts/Assembly-CSharp/PreInitSceneScript.cs new file mode 100644 index 0000000..4653b72 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PreInitSceneScript.cs @@ -0,0 +1,196 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using TMPro; +using UnityEngine; +using UnityEngine.UI; + +public class PreInitSceneScript : MonoBehaviour +{ + [CompilerGenerated] + private sealed class _003CloadSceneDelayed_003Ed__21 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public bool online; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CloadSceneDelayed_003Ed__21(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CrestartGameDueToCorruptedFile_003Ed__25 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PreInitSceneScript _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CrestartGameDueToCorruptedFile_003Ed__25(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public AudioSource mainAudio; + + public AudioClip hoverSFX; + + public AudioClip selectSFX; + + private bool choseLaunchOption; + + [Header("Other initial launch settings")] + public Slider gammaSlider; + + public GameObject continueButton; + + public Animator blackTransition; + + public GameObject OnlineModeButton; + + public GameObject[] LaunchSettingsPanels; + + public int currentLaunchSettingPanel; + + public TextMeshProUGUI headerText; + + private bool clickedDeleteFiles; + + public GameObject FileCorruptedPanel; + + public GameObject FileCorruptedDialoguePanel; + + public GameObject FileCorruptedRestartButton; + + public GameObject restartingGameText; + + private void Awake() + { + } + + private void Start() + { + } + + public void PressContinueButton() + { + } + + public void HoverButton() + { + } + + public void ChooseLaunchOption(bool online) + { + } + + [IteratorStateMachine(typeof(_003CloadSceneDelayed_003Ed__21))] + private IEnumerator loadSceneDelayed(bool online) + { + return null; + } + + public void SkipToFinalSetting() + { + } + + public void EnableFileCorruptedScreen() + { + } + + public void EraseFileAndRestart() + { + } + + [IteratorStateMachine(typeof(_003CrestartGameDueToCorruptedFile_003Ed__25))] + private IEnumerator restartGameDueToCorruptedFile() + { + return null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/PreInitSceneScript.cs.meta b/Assets/Scripts/Assembly-CSharp/PreInitSceneScript.cs.meta new file mode 100644 index 0000000..30f863f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PreInitSceneScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 49b86f14f6475aee7fa349ea6b9870f4 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Properties.meta b/Assets/Scripts/Assembly-CSharp/Properties.meta new file mode 100644 index 0000000..5e337ca --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Properties.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 08fa5b03429a25b4188ba21c1de26d7b +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Properties/AssemblyInfo.cs b/Assets/Scripts/Assembly-CSharp/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..bbd7eef --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Properties/AssemblyInfo.cs @@ -0,0 +1,5 @@ +using System.Diagnostics; +using System.Reflection; +using System.Runtime.CompilerServices; + +[assembly: AssemblyVersion("0.0.0.0")] diff --git a/Assets/Scripts/Assembly-CSharp/Properties/AssemblyInfo.cs.meta b/Assets/Scripts/Assembly-CSharp/Properties/AssemblyInfo.cs.meta new file mode 100644 index 0000000..9b0a9df --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Properties/AssemblyInfo.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: de178e062ddad7842bcd2aa27e7d678f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/PufferAI.cs b/Assets/Scripts/Assembly-CSharp/PufferAI.cs new file mode 100644 index 0000000..6ae2ac9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PufferAI.cs @@ -0,0 +1,264 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class PufferAI : EnemyAI +{ + [CompilerGenerated] + private sealed class _003CshakeTailAnimation_003Ed__45 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PufferAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CshakeTailAnimation_003Ed__45(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CstompAnimation_003Ed__44 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PufferAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CstompAnimation_003Ed__44(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + private PlayerControllerB closestSeenPlayer; + + public AISearchRoutine roamMap; + + private float avoidPlayersTimer; + + private float fearTimer; + + private int previousBehaviourState; + + public Transform lookAtPlayersCompass; + + private Coroutine shakeTailCoroutine; + + private bool inPuffingAnimation; + + private Vector3 agentLocalVelocity; + + private Vector3 previousPosition; + + public Transform animationContainer; + + private float velX; + + private float velZ; + + private float unclampedSpeed; + + private Vector3 lookAtNoise; + + private float timeSinceLookingAtNoise; + + private bool playerIsInLOS; + + private bool didStompAnimation; + + private bool inStompingAnimation; + + public AudioClip[] footstepsSFX; + + public AudioClip[] frightenSFX; + + public AudioClip stomp; + + public AudioClip angry; + + public AudioClip puff; + + public AudioClip nervousMumbling; + + public AudioClip rattleTail; + + public AudioClip bitePlayerSFX; + + [Space(5f)] + public Transform tailPosition; + + public GameObject smokePrefab; + + private bool startedMovingAfterAlert; + + private float timeSinceAlert; + + private bool didPuffAnimation; + + private float timeSinceHittingPlayer; + + public override void Start() + { + } + + public override void DoAIInterval() + { + } + + private void LookAtPosition(Vector3 look, bool lookInstantly = false) + { + } + + private void CalculateAnimationDirection(float maxSpeed = 1.7f) + { + } + + public void AvoidClosestPlayer() + { + } + + public override void DetectNoise(Vector3 noisePosition, float noiseLoudness, int timesPlayedInOneSpot = 0, int noiseID = 0) + { + } + + public override void Update() + { + } + + [ServerRpc] + public void StompServerRpc() + { + } + + [ClientRpc] + public void StompClientRpc() + { + } + + [ServerRpc] + public void ShakeTailServerRpc() + { + } + + [ClientRpc] + public void ShakeTailClientRpc() + { + } + + [IteratorStateMachine(typeof(_003CstompAnimation_003Ed__44))] + private IEnumerator stompAnimation() + { + return null; + } + + [IteratorStateMachine(typeof(_003CshakeTailAnimation_003Ed__45))] + private IEnumerator shakeTailAnimation() + { + return null; + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + [ServerRpc(RequireOwnership = false)] + public void BitePlayerServerRpc(int playerBit) + { + } + + [ClientRpc] + public void BitePlayerClientRpc(int playerBit) + { + } + + public override void KillEnemy(bool destroy = false) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/PufferAI.cs.meta b/Assets/Scripts/Assembly-CSharp/PufferAI.cs.meta new file mode 100644 index 0000000..987f8a7 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/PufferAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 38fe8968c38c9288c008f2925ce27edf +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/QuickMenuManager.cs b/Assets/Scripts/Assembly-CSharp/QuickMenuManager.cs new file mode 100644 index 0000000..cf84c31 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/QuickMenuManager.cs @@ -0,0 +1,126 @@ +using Dissonance; +using TMPro; +using UnityEngine; +using UnityEngine.UI; + +public class QuickMenuManager : MonoBehaviour +{ + [Header("HUD")] + public TextMeshProUGUI interactTipText; + + public TextMeshProUGUI leaveGameClarificationText; + + public Image cursorIcon; + + [Header("In-game Menu")] + public GameObject menuContainer; + + public GameObject mainButtonsPanel; + + public GameObject leaveGameConfirmPanel; + + public GameObject settingsPanel; + + [Space(3f)] + public GameObject ConfirmKickUserPanel; + + public TextMeshProUGUI ConfirmKickPlayerText; + + public bool isMenuOpen; + + private int currentMicrophoneDevice; + + public TextMeshProUGUI currentMicrophoneText; + + public DissonanceComms voiceChatModule; + + public TextMeshProUGUI changesNotAppliedText; + + public TextMeshProUGUI settingsBackButton; + + public GameObject PleaseConfirmChangesSettingsPanel; + + public Button PleaseConfirmChangesSettingsPanelBackButton; + + public CanvasGroup inviteFriendsTextAlpha; + + [Header("Player list")] + public PlayerListSlot[] playerListSlots; + + public GameObject playerListPanel; + + private int playerObjToKick; + + private void Start() + { + } + + public void OpenQuickMenu() + { + } + + public void CloseQuickMenu() + { + } + + public void CloseQuickMenuPanels() + { + } + + public void DisableInviteFriendsButton() + { + } + + public void InviteFriendsButton() + { + } + + public void LeaveGame() + { + } + + public void LeaveGameConfirm() + { + } + + public void EnableUIPanel(GameObject enablePanel) + { + } + + public void DisableUIPanel(GameObject enablePanel) + { + } + + private void Update() + { + } + + private bool NonHostPlayerSlotsEnabled() + { + return false; + } + + public void AddUserToPlayerList(ulong steamId, string playerName, int playerObjectId) + { + } + + public void KickUserFromServer(int playerObjId) + { + } + + public void CancelKickUserFromServer() + { + } + + public void ConfirmKickUserFromServer() + { + } + + public void RemoveUserFromPlayerList(int playerObjectId) + { + } + + public void OpenUserSteamProfile(int slotId) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/QuickMenuManager.cs.meta b/Assets/Scripts/Assembly-CSharp/QuickMenuManager.cs.meta new file mode 100644 index 0000000..db21c6a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/QuickMenuManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 063b0b8f37a2327127a61cd74747a9da +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/QuicksandTrigger.cs b/Assets/Scripts/Assembly-CSharp/QuicksandTrigger.cs new file mode 100644 index 0000000..de55b3a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/QuicksandTrigger.cs @@ -0,0 +1,32 @@ +using GameNetcodeStuff; +using UnityEngine; + +public class QuicksandTrigger : MonoBehaviour +{ + public bool isWater; + + public int audioClipIndex; + + [Space(5f)] + public bool sinkingLocalPlayer; + + public float movementHinderance; + + public float sinkingSpeedMultiplier; + + private void OnTriggerStay(Collider other) + { + } + + private void OnTriggerExit(Collider other) + { + } + + public void OnExit(Collider other) + { + } + + public void StopSinkingLocalPlayer(PlayerControllerB playerScript) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/QuicksandTrigger.cs.meta b/Assets/Scripts/Assembly-CSharp/QuicksandTrigger.cs.meta new file mode 100644 index 0000000..2e6cf2c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/QuicksandTrigger.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: f8ec375840c30a0e501d18e3ba05fdb3 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/QuotaSettings.cs b/Assets/Scripts/Assembly-CSharp/QuotaSettings.cs new file mode 100644 index 0000000..5a5e42f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/QuotaSettings.cs @@ -0,0 +1,26 @@ +using System; +using UnityEngine; + +[Serializable] +public class QuotaSettings +{ + [Tooltip("The starting profit quota")] + public int startingQuota; + + public int startingCredits; + + public int deadlineDaysAmount; + + [Space(5f)] + [Tooltip("Higher value means a less steep exponential increase")] + public float increaseSteepness; + + [Tooltip("The minimum amount to increase")] + public float baseIncrease; + + [Tooltip("A random Y coordinate on this line is picked and multiplied with the increase amount")] + public AnimationCurve randomizerCurve; + + [Tooltip("This determines the severity of the randomizer curve")] + public float randomizerMultiplier; +} diff --git a/Assets/Scripts/Assembly-CSharp/QuotaSettings.cs.meta b/Assets/Scripts/Assembly-CSharp/QuotaSettings.cs.meta new file mode 100644 index 0000000..1f3e3f6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/QuotaSettings.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 693526fe2ebc9a74ba42e36fcd947103 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/RadarBoosterItem.cs b/Assets/Scripts/Assembly-CSharp/RadarBoosterItem.cs new file mode 100644 index 0000000..767179c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RadarBoosterItem.cs @@ -0,0 +1,108 @@ +using Unity.Netcode; +using UnityEngine; + +public class RadarBoosterItem : GrabbableObject +{ + public bool radarEnabled; + + public Animator radarBoosterAnimator; + + public GameObject radarDot; + + public AudioSource pingAudio; + + public AudioClip pingSFX; + + public AudioSource radarBoosterAudio; + + public AudioClip turnOnSFX; + + public AudioClip turnOffSFX; + + public string radarBoosterName; + + private bool setRandomBoosterName; + + private int timesPlayingPingAudioInOneSpot; + + private Vector3 pingAudioLastPosition; + + private float timeSincePlayingPingAudio; + + private int radarBoosterNameIndex; + + public override void Start() + { + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + public override int GetItemDataToSave() + { + return 0; + } + + public override void LoadItemSaveData(int saveData) + { + } + + public void SetRadarBoosterNameLocal(string newName) + { + } + + private void RemoveBoosterFromRadar() + { + } + + private void AddBoosterToRadar() + { + } + + public void EnableRadarBooster(bool enable) + { + } + + public void PlayPingAudio() + { + } + + public void PlayPingAudioAndSync() + { + } + + [ServerRpc(RequireOwnership = false)] + public void PingRadarBoosterServerRpc(int playerWhoPlayedPing) + { + } + + [ClientRpc] + public void PingRadarBoosterClientRpc(int playerWhoPlayedPing) + { + } + + public override void EquipItem() + { + } + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } + + public override void PocketItem() + { + } + + public override void DiscardItem() + { + } + + public override void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/RadarBoosterItem.cs.meta b/Assets/Scripts/Assembly-CSharp/RadarBoosterItem.cs.meta new file mode 100644 index 0000000..588376f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RadarBoosterItem.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: e718a97bfdf4b1260c510191d04a2fd2 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/RagdollGrabbableObject.cs b/Assets/Scripts/Assembly-CSharp/RagdollGrabbableObject.cs new file mode 100644 index 0000000..1ef2e88 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RagdollGrabbableObject.cs @@ -0,0 +1,57 @@ +using GameNetcodeStuff; +using Unity.Netcode; + +public class RagdollGrabbableObject : GrabbableObject +{ + public NetworkVariable bodyID; + + public DeadBodyInfo ragdoll; + + private bool foundRagdollObject; + + private bool bodySetToHold; + + public bool testBody; + + private bool setBodyInElevator; + + private PlayerControllerB previousPlayerHeldBy; + + private bool hasBeenPlaced; + + public bool heldByEnemy; + + private bool heldByEnemyThisFrame; + + public override void Start() + { + } + + public override void EquipItem() + { + } + + public override void OnPlaceObject() + { + } + + public override void OnDestroy() + { + } + + public override void Update() + { + } + + public override void GrabItemFromEnemy() + { + } + + public override void DiscardItemFromEnemy() + { + } + + private void SetRagdollParentToMatchHoldingPlayer() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/RagdollGrabbableObject.cs.meta b/Assets/Scripts/Assembly-CSharp/RagdollGrabbableObject.cs.meta new file mode 100644 index 0000000..8ae2345 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RagdollGrabbableObject.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b82131af1fa59c951d7510bfb7d10f38 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 200 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/RandomAudioClip.cs b/Assets/Scripts/Assembly-CSharp/RandomAudioClip.cs new file mode 100644 index 0000000..ac90eb3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RandomAudioClip.cs @@ -0,0 +1,11 @@ +using System; +using UnityEngine; + +[Serializable] +public class RandomAudioClip +{ + public AudioClip audioClip; + + [Range(0f, 100f)] + public int chance; +} diff --git a/Assets/Scripts/Assembly-CSharp/RandomAudioClip.cs.meta b/Assets/Scripts/Assembly-CSharp/RandomAudioClip.cs.meta new file mode 100644 index 0000000..2ca5f7c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RandomAudioClip.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 3bc266cc1d704e04990af740e1df68cc +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/RandomMapObject.cs b/Assets/Scripts/Assembly-CSharp/RandomMapObject.cs new file mode 100644 index 0000000..9ac0b74 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RandomMapObject.cs @@ -0,0 +1,11 @@ +using System.Collections.Generic; +using UnityEngine; + +public class RandomMapObject : MonoBehaviour +{ + public List spawnablePrefabs; + + public bool randomizePosition; + + public float spawnRange; +} diff --git a/Assets/Scripts/Assembly-CSharp/RandomMapObject.cs.meta b/Assets/Scripts/Assembly-CSharp/RandomMapObject.cs.meta new file mode 100644 index 0000000..bbafd57 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RandomMapObject.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 6b5a3ed4d4d53c21e962b1a5208dbf57 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/RandomScrapSpawn.cs b/Assets/Scripts/Assembly-CSharp/RandomScrapSpawn.cs new file mode 100644 index 0000000..9311613 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RandomScrapSpawn.cs @@ -0,0 +1,13 @@ +using UnityEngine; + +public class RandomScrapSpawn : MonoBehaviour +{ + public ItemGroup spawnableItems; + + public float itemSpawnRange; + + [Space(5f)] + public bool spawnedItemsCopyPosition; + + public bool spawnUsed; +} diff --git a/Assets/Scripts/Assembly-CSharp/RandomScrapSpawn.cs.meta b/Assets/Scripts/Assembly-CSharp/RandomScrapSpawn.cs.meta new file mode 100644 index 0000000..3a30d3c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RandomScrapSpawn.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: dc615723168fad2d87ed05ea97e3b88f +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/RandomWeatherWithVariables.cs b/Assets/Scripts/Assembly-CSharp/RandomWeatherWithVariables.cs new file mode 100644 index 0000000..ed02135 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RandomWeatherWithVariables.cs @@ -0,0 +1,11 @@ +using System; + +[Serializable] +public class RandomWeatherWithVariables +{ + public LevelWeatherType weatherType; + + public int weatherVariable; + + public int weatherVariable2; +} diff --git a/Assets/Scripts/Assembly-CSharp/RandomWeatherWithVariables.cs.meta b/Assets/Scripts/Assembly-CSharp/RandomWeatherWithVariables.cs.meta new file mode 100644 index 0000000..21298cd --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RandomWeatherWithVariables.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8a1032da4241152408c960bf7b61508e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/RedLocustBees.cs b/Assets/Scripts/Assembly-CSharp/RedLocustBees.cs new file mode 100644 index 0000000..46c7138 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RedLocustBees.cs @@ -0,0 +1,334 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using DigitalRuby.ThunderAndLightning; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.VFX; + +public class RedLocustBees : EnemyAI +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass51_0 + { + public PlayerControllerB killedPlayer; + + public float timeAtStart; + + internal bool _003CBeesKillPlayer_003Eb__0() + { + return false; + } + } + + [CompilerGenerated] + private sealed class _003CBeesKillPlayer_003Ed__51 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public PlayerControllerB killedPlayer; + + private _003C_003Ec__DisplayClass51_0 _003C_003E8__1; + + public RedLocustBees _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CBeesKillPlayer_003Ed__51(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CbugsLeave_003Ed__60 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public RedLocustBees _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CbugsLeave_003Ed__60(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public int defenseDistance; + + [Space(5f)] + public GameObject hivePrefab; + + public GrabbableObject hive; + + public Vector3 lastKnownHivePosition; + + private int previousState; + + public VisualEffect beeParticles; + + public Transform beeParticlesTarget; + + public AudioSource beesIdle; + + public AudioSource beesDefensive; + + public AudioSource beesAngry; + + public AISearchRoutine searchForHive; + + private int chasePriority; + + private Vector3 lastSeenPlayerPos; + + private float lostLOSTimer; + + private bool wasInChase; + + private bool hasFoundHiveAfterChasing; + + private bool hasSpawnedHive; + + private float beesZapCurrentTimer; + + private float beesZapTimer; + + public LightningBoltPathScript lightningComponent; + + public Transform[] lightningPoints; + + private int beesZappingMode; + + private int timesChangingZapModes; + + private System.Random beeZapRandom; + + public AudioSource beeZapAudio; + + private float timeSinceHittingPlayer; + + private float attackZapModeTimer; + + private bool overrideBeeParticleTarget; + + private int beeParticleState; + + private PlayerControllerB killingPlayer; + + private Coroutine killingPlayerCoroutine; + + private bool syncedLastKnownHivePosition; + + public override void Start() + { + } + + private void SpawnHiveNearEnemy() + { + } + + [ClientRpc] + public void SpawnHiveClientRpc(NetworkObjectReference hiveObject, int hiveScrapValue, Vector3 hivePosition) + { + } + + public override void DoAIInterval() + { + } + + private bool SwitchOwnershipOfBeesToClient(PlayerControllerB player) + { + return false; + } + + [ServerRpc(RequireOwnership = false)] + public void SyncLastKnownHivePositionServerRpc(Vector3 hivePosition) + { + } + + [ClientRpc] + public void SyncLastKnownHivePositionClientRpc(Vector3 hivePosition) + { + } + + private PlayerControllerB ChaseWithPriorities() + { + return null; + } + + private bool IsHiveMissing() + { + return false; + } + + private bool IsHivePlacedAndInLOS() + { + return false; + } + + public override void Update() + { + } + + private void ResetBeeZapTimer() + { + } + + private void BeesZapOnTimer() + { + } + + private void SetBeeParticleMode(int newState) + { + } + + [ServerRpc(RequireOwnership = false)] + public void EnterAttackZapModeServerRpc(int clientWhoSent) + { + } + + [ClientRpc] + public void EnterAttackZapModeClientRpc(int clientWhoSent) + { + } + + [ServerRpc(RequireOwnership = false)] + public void BeeKillPlayerServerRpc(int playerId) + { + } + + [ClientRpc] + public void BeeKillPlayerClientRpc(int playerId) + { + } + + private void BeeKillPlayerOnLocalClient(int playerId) + { + } + + [IteratorStateMachine(typeof(_003CBeesKillPlayer_003Ed__51))] + private IEnumerator BeesKillPlayer(PlayerControllerB killedPlayer) + { + return null; + } + + private void OnPlayerTeleported(PlayerControllerB playerTeleported) + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + public void BeesZap() + { + } + + public void OnEnable() + { + } + + public void OnDisable() + { + } + + private void OnCameraSwitch() + { + } + + public override void EnableEnemyMesh(bool enable, bool overrideDoNotSet = false) + { + } + + public override void DaytimeEnemyLeave() + { + } + + [IteratorStateMachine(typeof(_003CbugsLeave_003Ed__60))] + private IEnumerator bugsLeave() + { + return null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/RedLocustBees.cs.meta b/Assets/Scripts/Assembly-CSharp/RedLocustBees.cs.meta new file mode 100644 index 0000000..cd0bd9a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RedLocustBees.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: d4bcb64bb55b76e04abb5a5f6bca6cb9 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/RedPillAnomaly.cs b/Assets/Scripts/Assembly-CSharp/RedPillAnomaly.cs new file mode 100644 index 0000000..7400251 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RedPillAnomaly.cs @@ -0,0 +1,3 @@ +public class RedPillAnomaly : Anomaly +{ +} diff --git a/Assets/Scripts/Assembly-CSharp/RedPillAnomaly.cs.meta b/Assets/Scripts/Assembly-CSharp/RedPillAnomaly.cs.meta new file mode 100644 index 0000000..0d2b2b7 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RedPillAnomaly.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 20be6da6e705d6296fe50b80c590a60f +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/RelayHostData.cs b/Assets/Scripts/Assembly-CSharp/RelayHostData.cs new file mode 100644 index 0000000..83818ea --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RelayHostData.cs @@ -0,0 +1,18 @@ +using System; + +public struct RelayHostData +{ + public string JoinCode; + + public string IPv4Address; + + public ushort Port; + + public Guid AllocationID; + + public byte[] AllocationIDBytes; + + public byte[] ConnectionData; + + public byte[] Key; +} diff --git a/Assets/Scripts/Assembly-CSharp/RelayHostData.cs.meta b/Assets/Scripts/Assembly-CSharp/RelayHostData.cs.meta new file mode 100644 index 0000000..c03ef0c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RelayHostData.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b01ce35c83fa15e8ee4e1bb3a8f97351 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/RelayJoinData.cs b/Assets/Scripts/Assembly-CSharp/RelayJoinData.cs new file mode 100644 index 0000000..b471a85 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RelayJoinData.cs @@ -0,0 +1,20 @@ +using System; + +public struct RelayJoinData +{ + public string JoinCode; + + public string IPv4Address; + + public ushort Port; + + public Guid AllocationID; + + public byte[] AllocationIDBytes; + + public byte[] ConnectionData; + + public byte[] HostConnectionData; + + public byte[] Key; +} diff --git a/Assets/Scripts/Assembly-CSharp/RelayJoinData.cs.meta b/Assets/Scripts/Assembly-CSharp/RelayJoinData.cs.meta new file mode 100644 index 0000000..c25bedb --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RelayJoinData.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 9418a0cc1a77a24a6c0fc546088ed812 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/RemoteProp.cs b/Assets/Scripts/Assembly-CSharp/RemoteProp.cs new file mode 100644 index 0000000..a4ff0f0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RemoteProp.cs @@ -0,0 +1,10 @@ +using UnityEngine; + +public class RemoteProp : GrabbableObject +{ + public AudioSource remoteAudio; + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/RemoteProp.cs.meta b/Assets/Scripts/Assembly-CSharp/RemoteProp.cs.meta new file mode 100644 index 0000000..6adaa29 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RemoteProp.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 46110211e2233ad1d1dfafa280e86da3 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ReverbPreset.cs b/Assets/Scripts/Assembly-CSharp/ReverbPreset.cs new file mode 100644 index 0000000..7eb548a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ReverbPreset.cs @@ -0,0 +1,30 @@ +using UnityEngine; + +[CreateAssetMenu(menuName = "ScriptableObjects/ReverbPreset", order = 1)] +public class ReverbPreset : ScriptableObject +{ + public bool changeDryLevel; + + [Range(-10000f, 0f)] + public float dryLevel; + + public bool changeHighFreq; + + [Range(-10000f, 0f)] + public float highFreq; + + public bool changeLowFreq; + + [Range(-10000f, 0f)] + public float lowFreq; + + public bool changeDecayTime; + + [Range(0f, 35f)] + public float decayTime; + + public bool changeRoom; + + [Range(-10000f, 0f)] + public float room; +} diff --git a/Assets/Scripts/Assembly-CSharp/ReverbPreset.cs.meta b/Assets/Scripts/Assembly-CSharp/ReverbPreset.cs.meta new file mode 100644 index 0000000..bad5494 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ReverbPreset.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 9c591dfe9908775c880363f17c905bf4 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/RoundManager.cs b/Assets/Scripts/Assembly-CSharp/RoundManager.cs new file mode 100644 index 0000000..f77a1f8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RoundManager.cs @@ -0,0 +1,977 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using DunGen; +using DunGen.Graph; +using TMPro; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.AI; + +public class RoundManager : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003CDetectElevatorRunning_003Ed__120 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public RoundManager _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CDetectElevatorRunning_003Ed__120(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CFlickerPoweredLights_003Ed__144 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public bool flickerFlashlights; + + public bool disableFlashlights; + + public RoundManager _003C_003E4__this; + + private int _003CloopCount_003E5__2; + + private int _003Cb_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CFlickerPoweredLights_003Ed__144(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CLoadNewLevelWait_003Ed__105 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public RoundManager _003C_003E4__this; + + public int randomSeed; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CLoadNewLevelWait_003Ed__105(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CturnOnLights_003Ed__142 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public bool turnOn; + + public RoundManager _003C_003E4__this; + + private int _003Cb_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CturnOnLights_003Ed__142(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CwaitForMainEntranceTeleportToSpawn_003Ed__156 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public RoundManager _003C_003E4__this; + + private float _003CstartTime_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CwaitForMainEntranceTeleportToSpawn_003Ed__156(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CwaitForScrapToSpawnToSync_003Ed__95 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public RoundManager _003C_003E4__this; + + public NetworkObjectReference[] spawnedScrap; + + public int[] scrapValues; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CwaitForScrapToSpawnToSync_003Ed__95(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public StartOfRound playersManager; + + public Transform syncedPropsContainer; + + [Header("Global Game Variables / Balancing")] + public float scrapValueMultiplier; + + public float scrapAmountMultiplier; + + public float mapSizeMultiplier; + + [Space(5f)] + [Space(5f)] + public int currentEnemyPower; + + public int currentOutsideEnemyPower; + + public int currentDaytimeEnemyPower; + + public TimeOfDay timeScript; + + private int currentHour; + + public float currentHourTime; + + [Header("Gameplay events")] + public List enemySpawnTimes; + + public int currentEnemySpawnIndex; + + public bool isSpawningEnemies; + + public bool begunSpawningEnemies; + + [Header("Elevator Properties")] + public bool ElevatorCharging; + + public float elevatorCharge; + + public bool ElevatorPowered; + + public bool elevatorUp; + + public bool ElevatorLowering; + + public bool ElevatorRunning; + + public bool ReturnToSurface; + + [Header("Elevator Variables")] + public Animator ElevatorAnimator; + + public Animator ElevatorLightAnimator; + + public AudioSource elevatorMotorAudio; + + public AudioClip startMotor; + + public Animator PanelButtons; + + public Animator PanelLights; + + public AudioSource elevatorButtonsAudio; + + public AudioClip PressButtonSFX1; + + public AudioClip PressButtonSFX2; + + public TextMeshProUGUI PanelScreenText; + + public Canvas PanelScreen; + + public NetworkObject lungPlacePosition; + + public InteractTrigger elevatorSocketTrigger; + + private Coroutine loadLevelCoroutine; + + private Coroutine flickerLightsCoroutine; + + private Coroutine powerLightsCoroutine; + + [Header("Enemies")] + public EnemyVent[] allEnemyVents; + + public List SpawnedAnomalies; + + public List SpawnedEnemies; + + private List SpawnProbabilities; + + public int hourTimeBetweenEnemySpawnBatches; + + public int numberOfEnemiesInScene; + + public int minEnemiesToSpawn; + + public int minOutsideEnemiesToSpawn; + + [Header("Hazards")] + public SpawnableMapObject[] spawnableMapObjects; + + public GameObject mapPropsContainer; + + public Transform[] shipSpawnPathPoints; + + public GameObject[] spawnDenialPoints; + + public string[] possibleCodesForBigDoors; + + public GameObject quicksandPrefab; + + public GameObject keyPrefab; + + [Space(5f)] + public GameObject[] outsideAINodes; + + public GameObject[] insideAINodes; + + [Header("Dungeon generation")] + public DungeonFlow[] dungeonFlowTypes; + + public RuntimeDungeon dungeonGenerator; + + public bool dungeonCompletedGenerating; + + public bool dungeonFinishedGeneratingForAllPlayers; + + public AudioClip[] firstTimeDungeonAudios; + + [Header("Scrap-collection")] + public Transform spawnedScrapContainer; + + public int scrapCollectedInLevel; + + public float totalScrapValueInLevel; + + public int valueOfFoundScrapItems; + + public List scrapCollectedThisRound; + + public SelectableLevel currentLevel; + + public System.Random LevelRandom; + + public System.Random AnomalyRandom; + + public System.Random AnomalyValuesRandom; + + public System.Random BreakerBoxRandom; + + public System.Random ScrapValuesRandom; + + public bool powerOffPermanently; + + public bool hasInitializedLevelRandomSeed; + + public List playersFinishedGeneratingFloor; + + public PowerSwitchEvent onPowerSwitch; + + public List allPoweredLightsAnimators; + + public List allPoweredLights; + + public List spawnedSyncedObjects; + + public float stabilityMeter; + + private Coroutine elevatorRunningCoroutine; + + public int collisionsMask; + + public bool cannotSpawnMoreInsideEnemies; + + public Collider[] tempColliderResults; + + public Transform tempTransform; + + public bool GotNavMeshPositionResult; + + public NavMeshHit navHit; + + private bool firstTimeSpawningEnemies; + + private bool firstTimeSpawningOutsideEnemies; + + private bool firstTimeSpawningDaytimeEnemies; + + public static RoundManager Instance + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + private void Awake() + { + } + + public void SpawnScrapInLevel() + { + } + + [IteratorStateMachine(typeof(_003CwaitForScrapToSpawnToSync_003Ed__95))] + private IEnumerator waitForScrapToSpawnToSync(NetworkObjectReference[] spawnedScrap, int[] scrapValues) + { + return null; + } + + [ClientRpc] + public void SyncScrapValuesClientRpc(NetworkObjectReference[] spawnedScrap, int[] allScrapValue) + { + } + + public void SpawnSyncedProps() + { + } + + public void SpawnMapObjects() + { + } + + public float YRotationThatFacesTheFarthestFromPosition(Vector3 pos, float maxDistance = 25f, int resolution = 6) + { + return 0f; + } + + public float YRotationThatFacesTheNearestFromPosition(Vector3 pos, float maxDistance = 25f, int resolution = 6) + { + return 0f; + } + + public void GenerateNewFloor() + { + } + + public void GeneratedFloorPostProcessing() + { + } + + public void TurnBreakerSwitchesOff() + { + } + + public void LoadNewLevel(int randomSeed, SelectableLevel newLevel) + { + } + + [IteratorStateMachine(typeof(_003CLoadNewLevelWait_003Ed__105))] + private IEnumerator LoadNewLevelWait(int randomSeed) + { + return null; + } + + [ClientRpc] + public void GenerateNewLevelClientRpc(int randomSeed, int levelID) + { + } + + private void FinishGeneratingLevel() + { + } + + private void Generator_OnGenerationStatusChanged(DungeonGenerator generator, GenerationStatus status) + { + } + + [ServerRpc(RequireOwnership = false)] + public void FinishedGeneratingLevelServerRpc(ulong clientId) + { + } + + public void DespawnPropsAtEndOfRound(bool despawnAllItems = false) + { + } + + public void UnloadSceneObjectsEarly() + { + } + + public override void OnDestroy() + { + } + + [ServerRpc] + public void FinishGeneratingNewLevelServerRpc() + { + } + + private void SetToCurrentLevelWeather() + { + } + + [ClientRpc] + public void FinishGeneratingNewLevelClientRpc() + { + } + + private void ResetEnemySpawningVariables() + { + } + + public void ResetEnemyVariables() + { + } + + public void CollectNewScrapForThisRound(GrabbableObject scrapObject) + { + } + + public void DetectElevatorIsRunning() + { + } + + [IteratorStateMachine(typeof(_003CDetectElevatorRunning_003Ed__120))] + private IEnumerator DetectElevatorRunning() + { + return null; + } + + public void BeginEnemySpawning() + { + } + + public void SpawnEnemiesOutside() + { + } + + public void SpawnDaytimeEnemiesOutside() + { + } + + private GameObject SpawnRandomDaytimeEnemy(GameObject[] spawnPoints, float timeUpToCurrentHour) + { + return null; + } + + private GameObject SpawnRandomOutsideEnemy(GameObject[] spawnPoints, float timeUpToCurrentHour) + { + return null; + } + + public void PlotOutEnemiesForNextHour() + { + } + + public void LogEnemySpawnTimes(bool couldNotFinish) + { + } + + private bool AssignRandomEnemyToVent(EnemyVent vent, float spawnTime) + { + return false; + } + + private bool EnemyCannotBeSpawned(int enemyIndex) + { + return false; + } + + public void InitializeRandomNumberGenerators() + { + } + + public void SpawnEnemyFromVent(EnemyVent vent) + { + } + + public void SpawnEnemyOnServer(Vector3 spawnPosition, float yRot, int enemyNumber = -1) + { + } + + [ServerRpc] + public void SpawnEnemyServerRpc(Vector3 spawnPosition, float yRot, int enemyNumber) + { + } + + public void SpawnEnemyGameObject(Vector3 spawnPosition, float yRot, int enemyNumber) + { + } + + public void DespawnEnemyOnServer(NetworkObject enemyNetworkObject) + { + } + + [ServerRpc(RequireOwnership = false)] + public void DespawnEnemyServerRpc(NetworkObjectReference enemyNetworkObject) + { + } + + private void DespawnEnemyGameObject(NetworkObjectReference enemyNetworkObject) + { + } + + public void SwitchPower(bool on) + { + } + + [ClientRpc] + public void PowerSwitchOnClientRpc() + { + } + + [ClientRpc] + public void PowerSwitchOffClientRpc() + { + } + + public void TurnOnAllLights(bool on) + { + } + + [IteratorStateMachine(typeof(_003CturnOnLights_003Ed__142))] + private IEnumerator turnOnLights(bool turnOn) + { + return null; + } + + public void FlickerLights(bool flickerFlashlights = false, bool disableFlashlights = false) + { + } + + [IteratorStateMachine(typeof(_003CFlickerPoweredLights_003Ed__144))] + private IEnumerator FlickerPoweredLights(bool flickerFlashlights = false, bool disableFlashlights = false) + { + return null; + } + + private void Start() + { + } + + private void ResetEnemyTypesSpawnedCounts() + { + } + + private void RefreshEnemiesList() + { + } + + private void Update() + { + } + + private void SpawnInsideEnemiesFromVentsIfReady() + { + } + + private void AdvanceHourAndSpawnNewBatchOfEnemies() + { + } + + public void RefreshLightsList() + { + } + + public void RefreshEnemyVents() + { + } + + private void SpawnOutsideHazards() + { + } + + private void SpawnRandomStoryLogs() + { + } + + public void SetLevelObjectVariables() + { + } + + [IteratorStateMachine(typeof(_003CwaitForMainEntranceTeleportToSpawn_003Ed__156))] + private IEnumerator waitForMainEntranceTeleportToSpawn() + { + return null; + } + + private void SetPowerOffAtStart() + { + } + + private void SetBigDoorCodes(Vector3 mainEntrancePosition) + { + } + + private void SetExitIDs(Vector3 mainEntrancePosition) + { + } + + private void SetSteamValveTimes(Vector3 mainEntrancePosition) + { + } + + private void SetLockedDoors(Vector3 mainEntrancePosition) + { + } + + [ServerRpc] + public void LightningStrikeServerRpc(Vector3 strikePosition) + { + } + + [ClientRpc] + public void LightningStrikeClientRpc(Vector3 strikePosition) + { + } + + [ServerRpc] + public void ShowStaticElectricityWarningServerRpc(NetworkObjectReference warningObject, float timeLeft) + { + } + + [ClientRpc] + public void ShowStaticElectricityWarningClientRpc(NetworkObjectReference warningObject, float timeLeft) + { + } + + public Vector3 RandomlyOffsetPosition(Vector3 pos, float maxRadius, float padding = 1f) + { + return default(Vector3); + } + + public static Vector3 RandomPointInBounds(Bounds bounds) + { + return default(Vector3); + } + + public Vector3 GetNavMeshPosition(Vector3 pos, NavMeshHit navMeshHit = default(NavMeshHit), float sampleRadius = 5f, int areaMask = -1) + { + return default(Vector3); + } + + public Transform GetClosestNode(Vector3 pos, bool outside = true) + { + return null; + } + + public Vector3 GetRandomNavMeshPositionInRadius(Vector3 pos, float radius = 10f, NavMeshHit navHit = default(NavMeshHit)) + { + return default(Vector3); + } + + public Vector3 GetRandomNavMeshPositionInBoxPredictable(Vector3 pos, float radius = 10f, NavMeshHit navHit = default(NavMeshHit), System.Random randomSeed = null, int layerMask = -1) + { + return default(Vector3); + } + + public Vector3 GetRandomPositionInBoxPredictable(Vector3 pos, float radius = 10f, System.Random randomSeed = null) + { + return default(Vector3); + } + + private float RandomNumberInRadius(float radius, System.Random randomSeed) + { + return 0f; + } + + public Vector3 GetRandomNavMeshPositionInRadiusSpherical(Vector3 pos, float radius = 10f, NavMeshHit navHit = default(NavMeshHit)) + { + return default(Vector3); + } + + public Vector3 GetRandomPositionInRadius(Vector3 pos, float minRadius, float radius, System.Random randomGen = null) + { + return default(Vector3); + } + + private float RandomFloatWithinRadius(float minValue, float radius, System.Random randomGenerator) + { + return 0f; + } + + public static Vector3 AverageOfLivingGroupedPlayerPositions() + { + return default(Vector3); + } + + public void PlayAudibleNoise(Vector3 noisePosition, float noiseRange = 10f, float noiseLoudness = 0.5f, int timesPlayedInSameSpot = 0, bool noiseIsInsideClosedShip = false, int noiseID = 0) + { + } + + public static int PlayRandomClip(AudioSource audioSource, AudioClip[] clipsArray, bool randomize = true, float oneShotVolume = 1f, int audibleNoiseID = 0) + { + return 0; + } + + public static Vector3 FindMainEntrancePosition(bool getTeleportPosition = false) + { + return default(Vector3); + } + + public int GetRandomWeightedIndex(int[] weights, System.Random randomSeed = null) + { + return 0; + } + + public int GetRandomWeightedIndexList(List weights) + { + return 0; + } + + public int GetWeightedValue(int indexLength) + { + return 0; + } + + private static int SortBySize(int p1, int p2) + { + return 0; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/RoundManager.cs.meta b/Assets/Scripts/Assembly-CSharp/RoundManager.cs.meta new file mode 100644 index 0000000..6369575 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/RoundManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: c772563b62eda8b681c04c691cd6f847 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SandSpiderAI.cs b/Assets/Scripts/Assembly-CSharp/SandSpiderAI.cs new file mode 100644 index 0000000..0fb8168 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SandSpiderAI.cs @@ -0,0 +1,455 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.AI; + +public class SandSpiderAI : EnemyAI +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass77_0 + { + public int playerId; + + public float timeAtStartOfWait; + + internal bool _003CWaitForBodyToGrab_003Eb__0() + { + return false; + } + } + + [CompilerGenerated] + private sealed class _003CWaitForBodyToGrab_003Ed__77 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public int playerId; + + private _003C_003Ec__DisplayClass77_0 _003C_003E8__1; + + public SandSpiderAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CWaitForBodyToGrab_003Ed__77(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CturnBodyIntoWeb_003Ed__67 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public SandSpiderAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CturnBodyIntoWeb_003Ed__67(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + private float[] legDistances; + + public Vector3[] legPositions; + + public Transform[] legDefaultPositions; + + public Transform[] legTargets; + + public Transform abdomen; + + public Transform mouthTarget; + + public bool burrowing; + + public Transform turnCompass; + + public Vector3 wallPosition; + + public Vector3 wallNormal; + + public Vector3 floorPosition; + + private bool onWall; + + private RaycastHit rayHit; + + private Ray ray; + + public bool lookingForWallPosition; + + private bool gotWallPositionInLOS; + + private float tryWallPositionInterval; + + private bool reachedWallPosition; + + public Transform meshContainer; + + public Vector3 meshContainerPosition; + + public Vector3 meshContainerTarget; + + private Quaternion meshContainerTargetRotation; + + public float spiderSpeed; + + public float calculatePathToAgentInterval; + + public bool navigateMeshTowardsPosition; + + public Vector3 navigateToPositionTarget; + + public NavMeshHit navHit; + + public List webTraps; + + public GameObject webTrapPrefab; + + public int maxWebTrapsToPlace; + + private float timeSincePlacingWebTrap; + + public Vector3 meshContainerServerPosition; + + public Vector3 meshContainerServerRotation; + + private Vector3 refVel; + + public Transform homeNode; + + public AISearchRoutine patrolHomeBase; + + private bool setDestinationToHomeBase; + + private float chaseTimer; + + private bool overrideSpiderLookRotation; + + private bool watchFromDistance; + + public float overrideAnimation; + + private float overrideAnimationWeight; + + private float timeSinceHittingPlayer; + + private DeadBodyInfo currentlyHeldBody; + + public Mesh playerBodyWebMesh; + + public Material playerBodyWebMat; + + private bool spooledPlayerBody; + + private bool spoolingPlayerBody; + + private Coroutine turnBodyIntoWebCoroutine; + + private bool decidedChanceToHangBodyEarly; + + public GameObject hangBodyPhysicsPrefab; + + private Coroutine grabBodyCoroutine; + + private float waitOnWallTimer; + + public AudioClip[] footstepSFX; + + public AudioSource footstepAudio; + + public AudioClip hitWebSFX; + + public AudioClip attackSFX; + + public AudioClip spoolPlayerSFX; + + public AudioClip hangPlayerSFX; + + public AudioClip breakWebSFX; + + public AudioClip hitSpiderSFX; + + private float lookAtPlayerInterval; + + public Rigidbody meshContainerRigidbody; + + private RaycastHit rayHitB; + + private int health; + + public override void Start() + { + } + + public override void DoAIInterval() + { + } + + [IteratorStateMachine(typeof(_003CturnBodyIntoWeb_003Ed__67))] + private IEnumerator turnBodyIntoWeb() + { + return null; + } + + private void CancelSpoolingBody() + { + } + + [ServerRpc] + public void SpiderTurnBodyIntoWebServerRpc() + { + } + + [ClientRpc] + public void SpiderTurnBodyIntoWebClientRpc() + { + } + + [ServerRpc] + public void SpiderHangBodyServerRpc() + { + } + + [ClientRpc] + public void SpiderHangBodyClientRpc() + { + } + + private void HangBodyFromCeiling() + { + } + + [ServerRpc] + public void GrabBodyServerRpc(int playerId) + { + } + + [ClientRpc] + public void GrabBodyClientRpc(int playerId) + { + } + + private void GrabBody(DeadBodyInfo body) + { + } + + [IteratorStateMachine(typeof(_003CWaitForBodyToGrab_003Ed__77))] + private IEnumerator WaitForBodyToGrab(int playerId) + { + return null; + } + + private void CalculateSpiderPathToPosition() + { + } + + public override void Update() + { + } + + private void StopChasing(bool moveTowardsDeadPlayerBody = false) + { + } + + private void CalculateMeshMovement() + { + } + + private void SetSpiderLookAtPosition(Vector3 lookAt) + { + } + + private bool GetWallPositionForSpiderMesh() + { + return false; + } + + public void LateUpdate() + { + } + + public void MoveLegsProcedurally() + { + } + + [ServerRpc] + public void SyncMeshContainerPositionServerRpc(Vector3 syncPosition, Vector3 syncRotation) + { + } + + [ClientRpc] + public void SyncMeshContainerPositionClientRpc(Vector3 syncPosition, Vector3 syncRotation) + { + } + + public void SyncMeshContainerPositionToClients() + { + } + + private bool AttemptPlaceWebTrap() + { + return false; + } + + [ServerRpc] + public void SpawnWebTrapServerRpc(Vector3 startPosition, Vector3 endPosition) + { + } + + [ClientRpc] + public void SpawnWebTrapClientRpc(Vector3 startPosition, Vector3 endPosition) + { + } + + [ServerRpc(RequireOwnership = false)] + public void PlayerTripWebServerRpc(int trapID, int playerNum) + { + } + + [ClientRpc] + public void PlayerTripWebClientRpc(int trapID, int playerNum) + { + } + + private void ChasePlayer(PlayerControllerB player) + { + } + + [ServerRpc(RequireOwnership = false)] + public void BreakWebServerRpc(int trapID, int playerWhoHit) + { + } + + [ClientRpc] + public void BreakWebClientRpc(Vector3 webPosition, int trapID) + { + } + + private void RemoveWeb(int trapID) + { + } + + public void TriggerChaseWithPlayer(PlayerControllerB playerScript) + { + } + + [ServerRpc(RequireOwnership = false)] + public void PlayerLeaveWebServerRpc(int trapID, int playerNum) + { + } + + [ClientRpc] + public void PlayerLeaveWebClientRpc(int trapID, int playerNum) + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + public override void HitEnemy(int force = 1, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } + + public override void KillEnemy(bool destroy = false) + { + } + + [ServerRpc(RequireOwnership = false)] + public void HitPlayerServerRpc(int playerId) + { + } + + [ClientRpc] + public void HitPlayerClientRpc(int playerId) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SandSpiderAI.cs.meta b/Assets/Scripts/Assembly-CSharp/SandSpiderAI.cs.meta new file mode 100644 index 0000000..0622f02 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SandSpiderAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 074ced4ef9f666f2d2a39c612e83c440 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SandSpiderWebTrap.cs b/Assets/Scripts/Assembly-CSharp/SandSpiderWebTrap.cs new file mode 100644 index 0000000..f5399d5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SandSpiderWebTrap.cs @@ -0,0 +1,61 @@ +using GameNetcodeStuff; +using UnityEngine; + +public class SandSpiderWebTrap : MonoBehaviour, IHittable +{ + public SandSpiderAI mainScript; + + private bool hinderingLocalPlayer; + + public PlayerControllerB currentTrappedPlayer; + + public Transform leftBone; + + public Transform rightBone; + + public Transform centerOfWeb; + + public int trapID; + + public float zScale; + + public AudioSource webAudio; + + private bool webHasBeenBroken; + + public void Hit(int force, Vector3 hitDirection, PlayerControllerB playerWhoHit = null, bool playHitSFX = false) + { + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + public void Update() + { + } + + private void Awake() + { + } + + private void CallPlayerLeaveWebOnDeath() + { + } + + private void OnTriggerStay(Collider other) + { + } + + private void PlayerLeaveWeb(PlayerControllerB playerScript) + { + } + + private void OnTriggerExit(Collider other) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SandSpiderWebTrap.cs.meta b/Assets/Scripts/Assembly-CSharp/SandSpiderWebTrap.cs.meta new file mode 100644 index 0000000..38be10a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SandSpiderWebTrap.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 7071c6dd68c2de2b1e3d21eaf5b46591 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SandWormAI.cs b/Assets/Scripts/Assembly-CSharp/SandWormAI.cs new file mode 100644 index 0000000..3a4e34c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SandWormAI.cs @@ -0,0 +1,166 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.AI; + +public class SandWormAI : EnemyAI +{ + [CompilerGenerated] + private sealed class _003CEmergeFromGround_003Ed__28 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public SandWormAI _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CEmergeFromGround_003Ed__28(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public AudioSource groundAudio; + + public ParticleSystem emergeFromGroundParticle1; + + public ParticleSystem emergeFromGroundParticle2; + + public ParticleSystem hitGroundParticle; + + public AudioClip[] groundRumbleSFX; + + public AudioClip[] ambientRumbleSFX; + + public AudioClip hitGroundSFX; + + public AudioClip emergeFromGroundSFX; + + public AudioClip[] roarSFX; + + public bool inEmergingState; + + public bool emerged; + + private int timesEmerging; + + public bool hitGroundInAnimation; + + public Transform endingPosition; + + public Transform[] airPathNodes; + + public Vector3 endOfFlightPathPosition; + + private Coroutine emergingFromGroundCoroutine; + + public AISearchRoutine roamMap; + + public float chaseTimer; + + private int stateLastFrame; + + private NavMeshHit navHit; + + private System.Random sandWormRandom; + + public override void Start() + { + } + + public override void DoAIInterval() + { + } + + public override void Update() + { + } + + public void StartEmergeAnimation() + { + } + + [ServerRpc] + public void EmergeServerRpc(int yRot) + { + } + + [ClientRpc] + public void EmergeClientRpc(int yRot) + { + } + + [IteratorStateMachine(typeof(_003CEmergeFromGround_003Ed__28))] + private IEnumerator EmergeFromGround(int rot) + { + return null; + } + + private void ShakePlayerCameraInProximity(Vector3 pos) + { + } + + public void HitGroundInAnimation() + { + } + + public void SetInGround() + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } + + public void EatPlayer(PlayerControllerB playerScript) + { + } + + public override void OnCollideWithEnemy(Collider other, EnemyAI enemyScript = null) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SandWormAI.cs.meta b/Assets/Scripts/Assembly-CSharp/SandWormAI.cs.meta new file mode 100644 index 0000000..26e4ccc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SandWormAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: acdff16ba41b91244cdfec19a6c574ce +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SaveFileUISlot.cs b/Assets/Scripts/Assembly-CSharp/SaveFileUISlot.cs new file mode 100644 index 0000000..dad62e3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SaveFileUISlot.cs @@ -0,0 +1,35 @@ +using TMPro; +using UnityEngine; + +public class SaveFileUISlot : MonoBehaviour +{ + public Animator buttonAnimator; + + public TextMeshProUGUI fileStatsText; + + public int fileNum; + + private string fileString; + + public TextMeshProUGUI fileNotCompatibleAlert; + + private void Awake() + { + } + + private void OnEnable() + { + } + + public void SetButtonColor() + { + } + + public void SetFileToThis() + { + } + + public void SetButtonColorForAllFileSlots() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SaveFileUISlot.cs.meta b/Assets/Scripts/Assembly-CSharp/SaveFileUISlot.cs.meta new file mode 100644 index 0000000..997f884 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SaveFileUISlot.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b46bcfdc2fb6cfd977c99f74bd160716 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ScanNodeProperties.cs b/Assets/Scripts/Assembly-CSharp/ScanNodeProperties.cs new file mode 100644 index 0000000..8b2f9e1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ScanNodeProperties.cs @@ -0,0 +1,23 @@ +using UnityEngine; + +public class ScanNodeProperties : MonoBehaviour +{ + public int maxRange; + + public int minRange; + + public bool requiresLineOfSight; + + [Space(5f)] + public string headerText; + + public string subText; + + public int scrapValue; + + [Space(5f)] + public int creatureScanID; + + [Space(3f)] + public int nodeType; +} diff --git a/Assets/Scripts/Assembly-CSharp/ScanNodeProperties.cs.meta b/Assets/Scripts/Assembly-CSharp/ScanNodeProperties.cs.meta new file mode 100644 index 0000000..ab34981 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ScanNodeProperties.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 3c36d0a92cbb1f26a39169ef0eae393a +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ScrapItemHUDDisplay.cs b/Assets/Scripts/Assembly-CSharp/ScrapItemHUDDisplay.cs new file mode 100644 index 0000000..95e1816 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ScrapItemHUDDisplay.cs @@ -0,0 +1,17 @@ +using System; +using TMPro; +using UnityEngine; + +[Serializable] +public class ScrapItemHUDDisplay +{ + public Animator itemDisplayAnimator; + + public Transform itemObjectContainer; + + public RectTransform UIContainer; + + public TextMeshProUGUI headerText; + + public TextMeshProUGUI valueText; +} diff --git a/Assets/Scripts/Assembly-CSharp/ScrapItemHUDDisplay.cs.meta b/Assets/Scripts/Assembly-CSharp/ScrapItemHUDDisplay.cs.meta new file mode 100644 index 0000000..8ccb46c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ScrapItemHUDDisplay.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4a2d2b568507678408a21ca58bebaa01 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ScreenShakeType.cs b/Assets/Scripts/Assembly-CSharp/ScreenShakeType.cs new file mode 100644 index 0000000..54f1e98 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ScreenShakeType.cs @@ -0,0 +1,7 @@ +public enum ScreenShakeType +{ + Small = 0, + Big = 1, + Long = 2, + VeryStrong = 3 +} diff --git a/Assets/Scripts/Assembly-CSharp/ScreenShakeType.cs.meta b/Assets/Scripts/Assembly-CSharp/ScreenShakeType.cs.meta new file mode 100644 index 0000000..5218ac9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ScreenShakeType.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: be3d323f6b752034ba97fa0d7be5282c +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SelectUIForGamepad.cs b/Assets/Scripts/Assembly-CSharp/SelectUIForGamepad.cs new file mode 100644 index 0000000..ef67f3d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SelectUIForGamepad.cs @@ -0,0 +1,18 @@ +using UnityEngine; + +public class SelectUIForGamepad : MonoBehaviour +{ + public bool doOnStart; + + private void Start() + { + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SelectUIForGamepad.cs.meta b/Assets/Scripts/Assembly-CSharp/SelectUIForGamepad.cs.meta new file mode 100644 index 0000000..ab94016 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SelectUIForGamepad.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: cb1686d5dbc6bbb6cec0af608edc99c3 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SelectableLevel.cs b/Assets/Scripts/Assembly-CSharp/SelectableLevel.cs new file mode 100644 index 0000000..a5254df --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SelectableLevel.cs @@ -0,0 +1,99 @@ +using System.Collections.Generic; +using UnityEngine; +using UnityEngine.Video; + +[CreateAssetMenu(menuName = "ScriptableObjects/Level", order = 2)] +public class SelectableLevel : ScriptableObject +{ + public GameObject planetPrefab; + + public string sceneName; + + public int levelID; + + public bool lockedForDemo; + + [Space(3f)] + public bool spawnEnemiesAndScrap; + + public string PlanetName; + + [TextArea(5, 15)] + public string LevelDescription; + + public VideoClip videoReel; + + public string riskLevel; + + public float timeToArrive; + + [Header("Time")] + public float OffsetFromGlobalTime; + + public float DaySpeedMultiplier; + + public bool planetHasTime; + + [Space(5f)] + public RandomWeatherWithVariables[] randomWeathers; + + public bool overrideWeather; + + public LevelWeatherType overrideWeatherType; + + [Space(2f)] + public LevelWeatherType currentWeather; + + [Space(7f)] + [Header("Level Values")] + public float factorySizeMultiplier; + + public IntWithRarity[] dungeonFlowTypes; + + [Space(3f)] + public SpawnableMapObject[] spawnableMapObjects; + + public SpawnableOutsideObjectWithRarity[] spawnableOutsideObjects; + + [Space(3f)] + public List spawnableScrap; + + public int minScrap; + + public int maxScrap; + + public int minTotalScrapValue; + + public int maxTotalScrapValue; + + [Space(3f)] + public LevelAmbienceLibrary levelAmbienceClips; + + [Header("Level enemy values")] + public int maxEnemyPowerCount; + + public int maxOutsideEnemyPowerCount; + + public int maxDaytimeEnemyPowerCount; + + [Space(3f)] + public List Enemies; + + public List OutsideEnemies; + + [Space(4f)] + public List DaytimeEnemies; + + [Space(3f)] + public AnimationCurve enemySpawnChanceThroughoutDay; + + public AnimationCurve outsideEnemySpawnChanceThroughDay; + + public AnimationCurve daytimeEnemySpawnChanceThroughDay; + + public float spawnProbabilityRange; + + public float daytimeEnemiesProbabilityRange; + + public bool levelIncludesSnowFootprints; +} diff --git a/Assets/Scripts/Assembly-CSharp/SelectableLevel.cs.meta b/Assets/Scripts/Assembly-CSharp/SelectableLevel.cs.meta new file mode 100644 index 0000000..efe6b3a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SelectableLevel.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 89cc72f2cd6e5da392d2eb839dbf2eba +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SerializedList.cs b/Assets/Scripts/Assembly-CSharp/SerializedList.cs new file mode 100644 index 0000000..d796104 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SerializedList.cs @@ -0,0 +1,10 @@ +using Unity.Netcode; + +internal struct SerializedList : INetworkSerializable +{ + public ulong[] Value; + + void INetworkSerializable.NetworkSerialize(BufferSerializer serializer) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SerializedList.cs.meta b/Assets/Scripts/Assembly-CSharp/SerializedList.cs.meta new file mode 100644 index 0000000..261d1ca --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SerializedList.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a480c703dcaddb75501f613f914c3391 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ServerAnimAndAudio.cs b/Assets/Scripts/Assembly-CSharp/ServerAnimAndAudio.cs new file mode 100644 index 0000000..4bfb679 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ServerAnimAndAudio.cs @@ -0,0 +1,14 @@ +using Unity.Netcode; + +public struct ServerAnimAndAudio : INetworkSerializable +{ + public string animationString; + + public NetworkObjectReference animatorObj; + + public NetworkObjectReference audioObj; + + public void NetworkSerialize(BufferSerializer serializer) where T : IReaderWriter + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ServerAnimAndAudio.cs.meta b/Assets/Scripts/Assembly-CSharp/ServerAnimAndAudio.cs.meta new file mode 100644 index 0000000..a964887 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ServerAnimAndAudio.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 72faee3bc6a5b1e47848286423ac209e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ServerAnimation.cs b/Assets/Scripts/Assembly-CSharp/ServerAnimation.cs new file mode 100644 index 0000000..23f2b7f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ServerAnimation.cs @@ -0,0 +1,16 @@ +using Unity.Netcode; + +public struct ServerAnimation : INetworkSerializable +{ + public string animationString; + + public NetworkObjectReference animatorObj; + + public bool isTrigger; + + public bool setTrue; + + public void NetworkSerialize(BufferSerializer serializer) where T : IReaderWriter + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ServerAnimation.cs.meta b/Assets/Scripts/Assembly-CSharp/ServerAnimation.cs.meta new file mode 100644 index 0000000..0e7d96d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ServerAnimation.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 46011f51888f62d408334043418e26e2 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ServerAudio.cs b/Assets/Scripts/Assembly-CSharp/ServerAudio.cs new file mode 100644 index 0000000..cf1245e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ServerAudio.cs @@ -0,0 +1,14 @@ +using Unity.Netcode; + +public struct ServerAudio : INetworkSerializable +{ + public NetworkObjectReference audioObj; + + public bool oneshot; + + public bool looped; + + public void NetworkSerialize(BufferSerializer serializer) where T : IReaderWriter + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ServerAudio.cs.meta b/Assets/Scripts/Assembly-CSharp/ServerAudio.cs.meta new file mode 100644 index 0000000..1ba9626 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ServerAudio.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 5a3d6d78b6caf054bbeac427c92b46ad +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SetLineRendererPoints.cs b/Assets/Scripts/Assembly-CSharp/SetLineRendererPoints.cs new file mode 100644 index 0000000..33cf5b4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SetLineRendererPoints.cs @@ -0,0 +1,18 @@ +using UnityEngine; + +public class SetLineRendererPoints : MonoBehaviour +{ + private LineRenderer lineRenderer; + + public Transform anchor; + + public Transform target; + + private void Start() + { + } + + private void LateUpdate() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SetLineRendererPoints.cs.meta b/Assets/Scripts/Assembly-CSharp/SetLineRendererPoints.cs.meta new file mode 100644 index 0000000..0fae909 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SetLineRendererPoints.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2866987eabc9ca450d4909d13cee1650 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SettingsOption.cs b/Assets/Scripts/Assembly-CSharp/SettingsOption.cs new file mode 100644 index 0000000..6bba628 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SettingsOption.cs @@ -0,0 +1,70 @@ +using TMPro; +using UnityEngine; +using UnityEngine.InputSystem; +using UnityEngine.UI; + +public class SettingsOption : MonoBehaviour +{ + public SettingsOptionType optionType; + + public TextMeshProUGUI textElement; + + public Image toggleImage; + + public Sprite enabledImage; + + public Sprite disabledImage; + + private bool askedForConfirmation; + + [Header("Key rebinding")] + public InputActionReference rebindableAction; + + public GameObject waitingForInput; + + public TextMeshProUGUI currentlyUsedKeyText; + + public void SetValueToMatchSettings() + { + } + + public void SetMasterVolume() + { + } + + public void StartRebindKey() + { + } + + public void OnEnable() + { + } + + public void OnDisable() + { + } + + public void SetSettingsOptionInt(int value) + { + } + + public void SetSettingsOptionFloat(float value) + { + } + + public void ToggleEnabledImage(int optionType) + { + } + + public void ConfirmSettings() + { + } + + public void ResetSettingsToDefault() + { + } + + public void CancelSettings() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SettingsOption.cs.meta b/Assets/Scripts/Assembly-CSharp/SettingsOption.cs.meta new file mode 100644 index 0000000..5aee8dc --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SettingsOption.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: b4c051d468326be263e372a14df73043 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SettingsOptionType.cs b/Assets/Scripts/Assembly-CSharp/SettingsOptionType.cs new file mode 100644 index 0000000..1f1abf6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SettingsOptionType.cs @@ -0,0 +1,18 @@ +using System; + +[Serializable] +public enum SettingsOptionType +{ + LookSens = 0, + Gamma = 1, + OnlineMode = 2, + MicPushToTalk = 3, + MicEnabled = 4, + MicDevice = 5, + ChangeBinding = 6, + CancelOrConfirm = 7, + MasterVolume = 8, + FramerateCap = 9, + FullscreenType = 10, + InvertYAxis = 11 +} diff --git a/Assets/Scripts/Assembly-CSharp/SettingsOptionType.cs.meta b/Assets/Scripts/Assembly-CSharp/SettingsOptionType.cs.meta new file mode 100644 index 0000000..712a2d4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SettingsOptionType.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: cb88bd910d6b9084ab07abea82ece711 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ShakeRigidbodies.cs b/Assets/Scripts/Assembly-CSharp/ShakeRigidbodies.cs new file mode 100644 index 0000000..082a2bf --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ShakeRigidbodies.cs @@ -0,0 +1,20 @@ +using UnityEngine; + +public class ShakeRigidbodies : MonoBehaviour +{ + public Rigidbody[] rigidBodies; + + public float shakeTimer; + + public float shakeIntensity; + + private bool shaking; + + private void Update() + { + } + + private void FixedUpdate() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ShakeRigidbodies.cs.meta b/Assets/Scripts/Assembly-CSharp/ShakeRigidbodies.cs.meta new file mode 100644 index 0000000..b0ae750 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ShakeRigidbodies.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 2dad5b55d766877d34c279228c0ea9bb +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ShipAlarmCord.cs b/Assets/Scripts/Assembly-CSharp/ShipAlarmCord.cs new file mode 100644 index 0000000..9bad14d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ShipAlarmCord.cs @@ -0,0 +1,67 @@ +using Unity.Netcode; +using UnityEngine; + +public class ShipAlarmCord : NetworkBehaviour +{ + private bool hornBlaring; + + private float cordPulledDownTimer; + + public Animator cordAnimator; + + public AudioSource hornClose; + + public AudioSource hornFar; + + public AudioSource cordAudio; + + public AudioClip cordPullSFX; + + private bool otherClientHoldingCord; + + private float playAudibleNoiseInterval; + + private int timesPlayingAtOnce; + + public PlaceableShipObject shipObjectScript; + + private int unlockableID; + + private bool localClientHoldingCord; + + private void Start() + { + } + + public void HoldCordDown() + { + } + + public void StopHorn() + { + } + + private void Update() + { + } + + [ServerRpc(RequireOwnership = false)] + public void PullCordServerRpc(int playerPullingCord) + { + } + + [ClientRpc] + public void PullCordClientRpc(int playerPullingCord) + { + } + + [ServerRpc(RequireOwnership = false)] + public void StopPullingCordServerRpc(int playerPullingCord) + { + } + + [ClientRpc] + public void StopPullingCordClientRpc(int playerPullingCord) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ShipAlarmCord.cs.meta b/Assets/Scripts/Assembly-CSharp/ShipAlarmCord.cs.meta new file mode 100644 index 0000000..054ad78 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ShipAlarmCord.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 92a5115c952f2f8bca2538f2f598c032 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ShipBuildModeManager.cs b/Assets/Scripts/Assembly-CSharp/ShipBuildModeManager.cs new file mode 100644 index 0000000..7b09971 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ShipBuildModeManager.cs @@ -0,0 +1,148 @@ +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.InputSystem; + +public class ShipBuildModeManager : NetworkBehaviour +{ + public AudioClip beginPlacementSFX; + + public AudioClip denyPlacementSFX; + + public AudioClip cancelPlacementSFX; + + public AudioClip storeItemSFX; + + [Space(5f)] + public bool InBuildMode; + + private bool CanConfirmPosition; + + private PlaceableShipObject placingObject; + + public Transform ghostObject; + + public MeshFilter ghostObjectMesh; + + public MeshRenderer ghostObjectRenderer; + + public MeshFilter selectionOutlineMesh; + + public MeshRenderer selectionOutlineRenderer; + + public Material ghostObjectGreen; + + public Material ghostObjectRed; + + private PlayerControllerB player; + + private int placeableShipObjectsMask; + + private int placementMask; + + private int placementMaskAndBlockers; + + private float timeSincePlacingObject; + + public PlayerActions playerActions; + + private RaycastHit rayHit; + + private Ray playerCameraRay; + + private BoxCollider currentCollider; + + private Collider[] collidersInPlacingObject; + + public static ShipBuildModeManager Instance + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + private void Awake() + { + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + private Vector3 OffsetObjectFromWallBasedOnDimensions(Vector3 targetPosition, RaycastHit wall) + { + return default(Vector3); + } + + private void Update() + { + } + + private bool PlayerMeetsConditionsToBuild(bool log = true) + { + return false; + } + + private void EnterBuildMode(InputAction.CallbackContext context) + { + } + + private void CreateGhostObjectAndHighlight() + { + } + + public void CancelBuildMode(bool cancelBeforePlacement = true) + { + } + + private void ConfirmBuildMode_performed(InputAction.CallbackContext context) + { + } + + [ServerRpc(RequireOwnership = false)] + public void PlaceShipObjectServerRpc(Vector3 newPosition, Vector3 newRotation, NetworkObjectReference objectRef, int playerWhoMoved) + { + } + + [ClientRpc] + public void PlaceShipObjectClientRpc(Vector3 newPosition, Vector3 newRotation, NetworkObjectReference objectRef, int playerWhoMoved) + { + } + + private void StoreObject_performed(InputAction.CallbackContext context) + { + } + + public void StoreObjectLocalClient() + { + } + + [ServerRpc(RequireOwnership = false)] + public void StoreObjectServerRpc(NetworkObjectReference objectRef, int playerWhoStored) + { + } + + [ClientRpc] + public void StoreShipObjectClientRpc(NetworkObjectReference objectRef, int playerWhoStored, int unlockableID) + { + } + + public void PlaceShipObject(Vector3 placementPosition, Vector3 placementRotation, PlaceableShipObject placeableObject, bool placementSFX = true) + { + } + + public void ResetShipObjectToDefaultPosition(PlaceableShipObject placeableObject) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ShipBuildModeManager.cs.meta b/Assets/Scripts/Assembly-CSharp/ShipBuildModeManager.cs.meta new file mode 100644 index 0000000..d811d5e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ShipBuildModeManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 5cc6124d922eb18969abff806ac68d86 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ShipLights.cs b/Assets/Scripts/Assembly-CSharp/ShipLights.cs new file mode 100644 index 0000000..d55a3e7 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ShipLights.cs @@ -0,0 +1,35 @@ +using Unity.Netcode; +using UnityEngine; + +public class ShipLights : NetworkBehaviour +{ + public bool areLightsOn; + + public Animator shipLightsAnimator; + + [ServerRpc(RequireOwnership = false)] + public void SetShipLightsServerRpc(bool setLightsOn) + { + } + + [ClientRpc] + public void SetShipLightsClientRpc(bool setLightsOn) + { + } + + public void ToggleShipLights() + { + } + + public void SetShipLightsBoolean(bool setLights) + { + } + + public void ToggleShipLightsOnLocalClientOnly() + { + } + + public void SetShipLightsOnLocalClientOnly(bool setLightsOn) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ShipLights.cs.meta b/Assets/Scripts/Assembly-CSharp/ShipLights.cs.meta new file mode 100644 index 0000000..89069c5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ShipLights.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: e19e93b1b1bf0af1d7c84a57e8334ec5 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ShipTeleporter.cs b/Assets/Scripts/Assembly-CSharp/ShipTeleporter.cs new file mode 100644 index 0000000..9dcb5f3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ShipTeleporter.cs @@ -0,0 +1,312 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class ShipTeleporter : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass31_0 + { + public int playerObj; + + public float startTime; + + internal bool _003CteleportBodyOut_003Eb__0() + { + return false; + } + } + + [CompilerGenerated] + private sealed class _003CbeamOutPlayer_003Ed__25 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public ShipTeleporter _003C_003E4__this; + + private int _003Cb_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CbeamOutPlayer_003Ed__25(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CbeamUpPlayer_003Ed__32 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public ShipTeleporter _003C_003E4__this; + + private PlayerControllerB _003CplayerToBeamUp_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CbeamUpPlayer_003Ed__32(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CteleportBodyOut_003Ed__31 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public int playerObj; + + private _003C_003Ec__DisplayClass31_0 _003C_003E8__1; + + public ShipTeleporter _003C_003E4__this; + + public Vector3 teleportPosition; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CteleportBodyOut_003Ed__31(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public bool isInverseTeleporter; + + public Transform teleportOutPosition; + + [Space(5f)] + public Transform teleporterPosition; + + public Animator teleporterAnimator; + + public Animator buttonAnimator; + + public AudioSource buttonAudio; + + public AudioSource shipTeleporterAudio; + + public AudioClip buttonPressSFX; + + public AudioClip teleporterSpinSFX; + + public AudioClip teleporterBeamUpSFX; + + public AudioClip beamUpPlayerBodySFX; + + private Coroutine beamUpPlayerCoroutine; + + public int teleporterId; + + private int[] playersBeingTeleported; + + private float cooldownTime; + + public float cooldownAmount; + + public InteractTrigger buttonTrigger; + + private void Awake() + { + } + + private void Update() + { + } + + private void OnDisable() + { + } + + public void PressTeleportButtonOnLocalClient() + { + } + + [ServerRpc(RequireOwnership = false)] + public void PressTeleportButtonServerRpc() + { + } + + [ClientRpc] + public void PressTeleportButtonClientRpc() + { + } + + private void PressButtonEffects() + { + } + + private bool CanUseInverseTeleporter() + { + return false; + } + + [IteratorStateMachine(typeof(_003CbeamOutPlayer_003Ed__25))] + private IEnumerator beamOutPlayer() + { + return null; + } + + [ServerRpc(RequireOwnership = false)] + public void TeleportPlayerOutServerRpc(int playerObj, Vector3 teleportPos) + { + } + + [ClientRpc] + public void TeleportPlayerOutClientRpc(int playerObj, Vector3 teleportPos) + { + } + + private void TeleportPlayerOutWithInverseTeleporter(int playerObj, Vector3 teleportPos) + { + } + + [ServerRpc(RequireOwnership = false)] + public void TeleportPlayerBodyOutServerRpc(int playerObj, Vector3 teleportPos) + { + } + + [ClientRpc] + public void TeleportPlayerBodyOutClientRpc(int playerObj, Vector3 teleportPos) + { + } + + [IteratorStateMachine(typeof(_003CteleportBodyOut_003Ed__31))] + private IEnumerator teleportBodyOut(int playerObj, Vector3 teleportPosition) + { + return null; + } + + [IteratorStateMachine(typeof(_003CbeamUpPlayer_003Ed__32))] + private IEnumerator beamUpPlayer() + { + return null; + } + + private void SetPlayerTeleporterId(PlayerControllerB playerScript, int teleporterId) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ShipTeleporter.cs.meta b/Assets/Scripts/Assembly-CSharp/ShipTeleporter.cs.meta new file mode 100644 index 0000000..1da2d51 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ShipTeleporter.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: aad8b4f44b2f9f6f2b0e7ad18b59d44b +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Shovel.cs b/Assets/Scripts/Assembly-CSharp/Shovel.cs new file mode 100644 index 0000000..2390ef8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Shovel.cs @@ -0,0 +1,137 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class Shovel : GrabbableObject +{ + [CompilerGenerated] + private sealed class _003CreelUpShovel_003Ed__14 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public Shovel _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CreelUpShovel_003Ed__14(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public int shovelHitForce; + + public bool reelingUp; + + public bool isHoldingButton; + + private RaycastHit rayHit; + + private Coroutine reelingUpCoroutine; + + private RaycastHit[] objectsHitByShovel; + + private List objectsHitByShovelList; + + public AudioClip reelUp; + + public AudioClip swing; + + public AudioClip[] hitSFX; + + public AudioSource shovelAudio; + + private PlayerControllerB previousPlayerHeldBy; + + private int shovelMask; + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } + + [IteratorStateMachine(typeof(_003CreelUpShovel_003Ed__14))] + private IEnumerator reelUpShovel() + { + return null; + } + + [ServerRpc] + public void ReelUpSFXServerRpc() + { + } + + [ClientRpc] + public void ReelUpSFXClientRpc() + { + } + + public override void DiscardItem() + { + } + + public void SwingShovel(bool cancel = false) + { + } + + public void HitShovel(bool cancel = false) + { + } + + [ServerRpc] + public void HitShovelServerRpc(int hitSurfaceID) + { + } + + [ClientRpc] + public void HitShovelClientRpc(int hitSurfaceID) + { + } + + private void HitSurfaceWithShovel(int hitSurfaceID) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/Shovel.cs.meta b/Assets/Scripts/Assembly-CSharp/Shovel.cs.meta new file mode 100644 index 0000000..6b59e7d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Shovel.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: c7b430c469db0421764b70ff9c06bc0d +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SimpleEvent.cs b/Assets/Scripts/Assembly-CSharp/SimpleEvent.cs new file mode 100644 index 0000000..0083a0e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SimpleEvent.cs @@ -0,0 +1,5 @@ +using UnityEngine.Events; + +public class SimpleEvent : UnityEvent +{ +} diff --git a/Assets/Scripts/Assembly-CSharp/SimpleEvent.cs.meta b/Assets/Scripts/Assembly-CSharp/SimpleEvent.cs.meta new file mode 100644 index 0000000..ee7df40 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SimpleEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 64bca549c9a701f46b8c827bc26e36fe +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SoundManager.cs b/Assets/Scripts/Assembly-CSharp/SoundManager.cs new file mode 100644 index 0000000..5117395 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SoundManager.cs @@ -0,0 +1,317 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.Audio; + +public class SoundManager : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003CfadeVolumeBackToNormalDelayed_003Ed__58 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + private float _003CtargetVolume_003E5__2; + + private int _003Ci_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CfadeVolumeBackToNormalDelayed_003Ed__58(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + private System.Random SoundsRandom; + + public float soundFrequencyServer; + + public float soundRarityServer; + + public float soundTimerServer; + + private int serverSoundsPlayedInARow; + + public float soundFrequency; + + public float soundRarity; + + private float soundTimer; + + private int localSoundsPlayedInARow; + + public AudioSource ambienceAudio; + + public AudioSource ambienceAudioNonDiagetic; + + [Header("Outside Music")] + public AudioSource musicSource; + + public AudioClip[] DaytimeMusic; + + public AudioClip[] EveningMusic; + + private float timeSincePlayingLastMusic; + + public bool playingOutsideMusic; + + [Space(5f)] + private bool isAudioPlaying; + + private PlayerControllerB localPlayer; + + private bool isInsanityMusicPlaying; + + private List audioClipProbabilities; + + private int lastSoundTypePlayed; + + private int lastServerSoundTypePlayed; + + private bool playingInsanitySoundClip; + + private bool playingInsanitySoundClipOnServer; + + private float localPlayerAmbientMusicTimer; + + [Header("Audio Mixer")] + public AudioMixerSnapshot[] mixerSnapshots; + + public AudioMixer diageticMixer; + + public AudioMixerGroup[] playerVoiceMixers; + + [Space(3f)] + public float[] playerVoicePitchTargets; + + public float[] playerVoicePitches; + + public float[] playerVoicePitchLerpSpeed; + + [Space(3f)] + public float[] playerVoiceVolumes; + + public int currentMixerSnapshotID; + + private bool overridingCurrentAudioMixer; + + [Header("Background music")] + public AudioSource highAction1; + + private bool highAction1audible; + + public AudioSource highAction2; + + private bool highAction2audible; + + public AudioSource lowAction; + + private bool lowActionAudible; + + public AudioSource heartbeatSFX; + + public float currentHeartbeatInterval; + + public float heartbeatTimer; + + public AudioClip[] heartbeatClips; + + private int currentHeartbeatClip; + + private bool playingHeartbeat; + + public float earsRingingTimer; + + private bool earsRinging; + + public AudioSource ringingEarsAudio; + + public AudioSource tempAudio1; + + public AudioSource tempAudio2; + + public AudioClip[] syncedAudioClips; + + public static SoundManager Instance + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + private void Awake() + { + } + + private void Start() + { + } + + [IteratorStateMachine(typeof(_003CfadeVolumeBackToNormalDelayed_003Ed__58))] + private IEnumerator fadeVolumeBackToNormalDelayed() + { + return null; + } + + public void InitializeRandom() + { + } + + public void ResetValues() + { + } + + public void SetPlayerPitch(float pitch, int playerObjNum) + { + } + + public void SetPlayerVoiceFilters() + { + } + + private void Update() + { + } + + private void SetAudioFilters() + { + } + + public void PlayRandomOutsideMusic(bool eveningMusic = false) + { + } + + private void SetOutsideMusicValues() + { + } + + private void SetEarsRinging() + { + } + + private void SetFearAudio() + { + } + + private void PlayNonDiageticSound() + { + } + + private void ServerSoundTimer() + { + } + + private void LocalPlayerSoundTimer() + { + } + + public void SetServerSoundRandomizerVariables() + { + } + + public void SetLocalSoundRandomizerVariables() + { + } + + public void PlayAmbientSound(bool syncedForAllPlayers = false, bool playInsanitySounds = false) + { + } + + public void ResetSoundType() + { + } + + [ServerRpc(RequireOwnership = false)] + public void PlayAmbienceClipServerRpc(int soundType, int clipIndex, float soundVolume, bool playInsanitySounds) + { + } + + [ClientRpc] + public void PlayAmbienceClipClientRpc(int soundType, int clipIndex, float soundVolume, bool playInsanitySounds) + { + } + + public void PlayAmbienceClipLocal(int soundType, int clipIndex, float soundVolume, bool playInsanitySounds) + { + } + + public void PlaySoundAroundPlayersAsGroup(AudioClip clipToPlay, float vol) + { + } + + public void PlaySoundAroundLocalPlayer(AudioClip clipToPlay, float vol) + { + } + + public void SetDiageticMixerSnapshot(int snapshotID = 0, float transitionTime = 1f) + { + } + + public void ResumeCurrentMixerSnapshot(float time) + { + } + + public void PlayAudio1AtPositionForAllClients(Vector3 audioPosition, int clipIndex) + { + } + + [ServerRpc(RequireOwnership = false)] + public void PlayAudio1AtPositionServerRpc(Vector3 audioPos, int clipIndex) + { + } + + [ClientRpc] + public void PlayAudio1AtPositionClientRpc(Vector3 audioPos, int clipIndex) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SoundManager.cs.meta b/Assets/Scripts/Assembly-CSharp/SoundManager.cs.meta new file mode 100644 index 0000000..80f89d9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SoundManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 28556f8a3c2b55e20a4e669c05905bfe +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SpawnSyncedObject.cs b/Assets/Scripts/Assembly-CSharp/SpawnSyncedObject.cs new file mode 100644 index 0000000..79c74b3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnSyncedObject.cs @@ -0,0 +1,6 @@ +using UnityEngine; + +public class SpawnSyncedObject : MonoBehaviour +{ + public GameObject spawnPrefab; +} diff --git a/Assets/Scripts/Assembly-CSharp/SpawnSyncedObject.cs.meta b/Assets/Scripts/Assembly-CSharp/SpawnSyncedObject.cs.meta new file mode 100644 index 0000000..3e55887 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnSyncedObject.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 94f10ed4536484ae40a507a235b54583 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SpawnableEnemyWithRarity.cs b/Assets/Scripts/Assembly-CSharp/SpawnableEnemyWithRarity.cs new file mode 100644 index 0000000..11fc3bd --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnableEnemyWithRarity.cs @@ -0,0 +1,11 @@ +using System; +using UnityEngine; + +[Serializable] +public class SpawnableEnemyWithRarity +{ + public EnemyType enemyType; + + [Range(0f, 100f)] + public int rarity; +} diff --git a/Assets/Scripts/Assembly-CSharp/SpawnableEnemyWithRarity.cs.meta b/Assets/Scripts/Assembly-CSharp/SpawnableEnemyWithRarity.cs.meta new file mode 100644 index 0000000..e43185f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnableEnemyWithRarity.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 0c2f9454bbb89ea4abd6530c7a68ec6f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SpawnableItemWithRarity.cs b/Assets/Scripts/Assembly-CSharp/SpawnableItemWithRarity.cs new file mode 100644 index 0000000..e76a495 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnableItemWithRarity.cs @@ -0,0 +1,11 @@ +using System; +using UnityEngine; + +[Serializable] +public class SpawnableItemWithRarity +{ + public Item spawnableItem; + + [Range(0f, 100f)] + public int rarity; +} diff --git a/Assets/Scripts/Assembly-CSharp/SpawnableItemWithRarity.cs.meta b/Assets/Scripts/Assembly-CSharp/SpawnableItemWithRarity.cs.meta new file mode 100644 index 0000000..ff66f49 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnableItemWithRarity.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 7d1f750d64f9eb6448b86c9b86936432 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SpawnableMapObject.cs b/Assets/Scripts/Assembly-CSharp/SpawnableMapObject.cs new file mode 100644 index 0000000..9fdce7f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnableMapObject.cs @@ -0,0 +1,13 @@ +using System; +using UnityEngine; + +[Serializable] +public class SpawnableMapObject +{ + public GameObject prefabToSpawn; + + public bool spawnFacingAwayFromWall; + + [Tooltip("Y Axis is the amount to be spawned; X axis should be from 0 to 1 and is randomly picked from.")] + public AnimationCurve numberToSpawn; +} diff --git a/Assets/Scripts/Assembly-CSharp/SpawnableMapObject.cs.meta b/Assets/Scripts/Assembly-CSharp/SpawnableMapObject.cs.meta new file mode 100644 index 0000000..acda4c3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnableMapObject.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 9918a64109657014fb25de3acde29a16 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SpawnableOutsideMapObject.cs b/Assets/Scripts/Assembly-CSharp/SpawnableOutsideMapObject.cs new file mode 100644 index 0000000..0ea9db4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnableOutsideMapObject.cs @@ -0,0 +1,20 @@ +using System; +using UnityEngine; + +[Serializable] +public class SpawnableOutsideMapObject +{ + public GameObject prefabToSpawn; + + public bool spawnFacingAwayFromWall; + + [Tooltip("Y Axis is the amount to be spawned; X axis should be from 0 to 1 and is randomly picked from.")] + public AnimationCurve numberToSpawn; + + [Tooltip("This is used to determine how close this object can spawn to edges of the nav mesh.")] + public int objectWidth; + + public string spawnableFloorTag; + + public Vector3 rotationOffset; +} diff --git a/Assets/Scripts/Assembly-CSharp/SpawnableOutsideMapObject.cs.meta b/Assets/Scripts/Assembly-CSharp/SpawnableOutsideMapObject.cs.meta new file mode 100644 index 0000000..7a0f2df --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnableOutsideMapObject.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 62875cba8c76b7341acf85c789285cce +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SpawnableOutsideObject.cs b/Assets/Scripts/Assembly-CSharp/SpawnableOutsideObject.cs new file mode 100644 index 0000000..4b95261 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnableOutsideObject.cs @@ -0,0 +1,17 @@ +using UnityEngine; + +[CreateAssetMenu(menuName = "ScriptableObjects/SpawnableOutsideObject", order = 2)] +public class SpawnableOutsideObject : ScriptableObject +{ + public GameObject prefabToSpawn; + + public bool spawnFacingAwayFromWall; + + [Tooltip("This is used to determine how close this object can spawn to edges of the nav mesh.")] + public int objectWidth; + + [Tooltip("If null, allows spawning this object on any surface.")] + public string[] spawnableFloorTags; + + public Vector3 rotationOffset; +} diff --git a/Assets/Scripts/Assembly-CSharp/SpawnableOutsideObject.cs.meta b/Assets/Scripts/Assembly-CSharp/SpawnableOutsideObject.cs.meta new file mode 100644 index 0000000..32e0b1c --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnableOutsideObject.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 4c1fe37c48e8c202e912cc77bbc9a993 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SpawnableOutsideObjectWithRarity.cs b/Assets/Scripts/Assembly-CSharp/SpawnableOutsideObjectWithRarity.cs new file mode 100644 index 0000000..7b2f84b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnableOutsideObjectWithRarity.cs @@ -0,0 +1,10 @@ +using System; +using UnityEngine; + +[Serializable] +public class SpawnableOutsideObjectWithRarity +{ + public SpawnableOutsideObject spawnableObject; + + public AnimationCurve randomAmount; +} diff --git a/Assets/Scripts/Assembly-CSharp/SpawnableOutsideObjectWithRarity.cs.meta b/Assets/Scripts/Assembly-CSharp/SpawnableOutsideObjectWithRarity.cs.meta new file mode 100644 index 0000000..077a5a3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpawnableOutsideObjectWithRarity.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: fe3fa5fcba964fd4fac86926c58637a3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SpringManAI.cs b/Assets/Scripts/Assembly-CSharp/SpringManAI.cs new file mode 100644 index 0000000..bbc63bb --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpringManAI.cs @@ -0,0 +1,66 @@ +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class SpringManAI : EnemyAI +{ + public AISearchRoutine searchForPlayers; + + private float checkLineOfSightInterval; + + private bool hasEnteredChaseMode; + + private bool stoppingMovement; + + private bool hasStopped; + + public AnimationStopPoints animStopPoints; + + private float currentChaseSpeed; + + private float currentAnimSpeed; + + private PlayerControllerB previousTarget; + + private bool wasOwnerLastFrame; + + private float stopAndGoMinimumInterval; + + private float timeSinceHittingPlayer; + + public AudioClip[] springNoises; + + public Collider mainCollider; + + public override void DoAIInterval() + { + } + + public override void Update() + { + } + + [ServerRpc] + public void SetAnimationStopServerRpc() + { + } + + [ClientRpc] + public void SetAnimationStopClientRpc() + { + } + + [ServerRpc] + public void SetAnimationGoServerRpc() + { + } + + [ClientRpc] + public void SetAnimationGoClientRpc() + { + } + + public override void OnCollideWithPlayer(Collider other) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SpringManAI.cs.meta b/Assets/Scripts/Assembly-CSharp/SpringManAI.cs.meta new file mode 100644 index 0000000..db073ab --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SpringManAI.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 652d2a0becd20f688775be55b260adaf +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/StartMatchLever.cs b/Assets/Scripts/Assembly-CSharp/StartMatchLever.cs new file mode 100644 index 0000000..e699f92 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/StartMatchLever.cs @@ -0,0 +1,72 @@ +using Unity.Netcode; +using UnityEngine; + +public class StartMatchLever : NetworkBehaviour +{ + public bool singlePlayerEnabled; + + public bool leverHasBeenPulled; + + public InteractTrigger triggerScript; + + public StartOfRound playersManager; + + public Animator leverAnimatorObject; + + private float updateInterval; + + private bool clientSentRPC; + + public bool hasDisplayedTimeWarning; + + public void LeverAnimation() + { + } + + private void PullLeverAnim(bool leverPulled) + { + } + + [ServerRpc(RequireOwnership = false)] + public void PlayLeverPullEffectsServerRpc(bool leverPulled) + { + } + + [ClientRpc] + private void PlayLeverPullEffectsClientRpc(bool leverPulled) + { + } + + public void PullLever() + { + } + + public void StartGame() + { + } + + [ClientRpc] + public void CancelStartGameClientRpc() + { + } + + private void CancelStartGame() + { + } + + public void EndGame() + { + } + + public void BeginHoldingInteractOnLever() + { + } + + private void Start() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/StartMatchLever.cs.meta b/Assets/Scripts/Assembly-CSharp/StartMatchLever.cs.meta new file mode 100644 index 0000000..b963807 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/StartMatchLever.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 13313918e13496f2b387c598966761f9 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/StartOfRound.cs b/Assets/Scripts/Assembly-CSharp/StartOfRound.cs new file mode 100644 index 0000000..a0ad819 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/StartOfRound.cs @@ -0,0 +1,1814 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using Dissonance; +using GameNetcodeStuff; +using TMPro; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.Audio; +using UnityEngine.Rendering; +using UnityEngine.Rendering.HighDefinition; +using UnityEngine.SceneManagement; +using UnityEngine.Video; + +public class StartOfRound : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003CEndOfGame_003Ed__245 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + public int bodiesInsured; + + public int connectedPlayersOnServer; + + private int _003CplayersDead_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CEndOfGame_003Ed__245(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003COpenShipDoors_003Ed__230 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003COpenShipDoors_003Ed__230(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CResetDissonanceCommsComponent_003Ed__263 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CResetDissonanceCommsComponent_003Ed__263(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CStartSpatialVoiceChat_003Ed__202 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CStartSpatialVoiceChat_003Ed__202(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CTravelToLevelEffects_003Ed__281 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + private StartMatchLever _003Clever_003E5__2; + + private int _003Ci_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CTravelToLevelEffects_003Ed__281(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CUpdatePlayerVoiceEffectsOnDelay_003Ed__203 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CUpdatePlayerVoiceEffectsOnDelay_003Ed__203(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CfadeVolume_003Ed__242 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public float finalVolume; + + private float _003CinitialVolume_003E5__2; + + private int _003Ci_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CfadeVolume_003Ed__242(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CfirstDayAnimation_003Ed__255 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public bool waitForMenuToClose; + + public StartOfRound _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CfirstDayAnimation_003Ed__255(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CgameOverAnimation_003Ed__226 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + public bool leavingOnMidnight; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CgameOverAnimation_003Ed__226(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CopeningDoorsSequence_003Ed__231 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + private StartMatchLever _003CleverScript_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CopeningDoorsSequence_003Ed__231(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CplayDaysLeftAlertSFXDelayed_003Ed__247 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CplayDaysLeftAlertSFXDelayed_003Ed__247(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CplayRandomShipAudio_003Ed__262 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + private System.Random _003CshipRandom_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CplayRandomShipAudio_003Ed__262(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CplayersFiredGameOver_003Ed__251 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CplayersFiredGameOver_003Ed__251(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CsetPlayerToSpawnPosition_003Ed__218 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public Transform playerBody; + + public Vector3 spawnPos; + + private int _003Ci_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CsetPlayerToSpawnPosition_003Ed__218(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CunloadSceneForAllPlayers_003Ed__239 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CunloadSceneForAllPlayers_003Ed__239(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CwaitingForOtherPlayersToRevive_003Ed__265 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StartOfRound _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CwaitingForOtherPlayersToRevive_003Ed__265(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public bool shouldApproveConnection; + + public int connectedPlayersAmount; + + public int thisClientPlayerId; + + public List fullyLoadedPlayers; + + public int livingPlayers; + + private bool mostRecentlyJoinedClient; + + public bool allPlayersDead; + + public Dictionary ClientPlayerList; + + public List KickedClientIds; + + public int daysPlayersSurvivedInARow; + + [Space(5f)] + private bool hasHostSpawned; + + public bool inShipPhase; + + public float timeSinceRoundStarted; + + public bool shipIsLeaving; + + public bool newGameIsLoading; + + private int playersRevived; + + public EndOfGameStats gameStats; + + private bool localPlayerWasMostProfitableThisRound; + + [Header("Important objects")] + public Camera spectateCamera; + + public AudioListener audioListener; + + [HideInInspector] + public bool overrideSpectateCamera; + + public GameObject[] allPlayerObjects; + + public PlayerControllerB[] allPlayerScripts; + + public Transform[] playerSpawnPositions; + + public Transform outsideShipSpawnPosition; + + public Transform notSpawnedPosition; + + public Transform propsContainer; + + public Transform elevatorTransform; + + public Transform playersContainer; + + public PlayerControllerB localPlayerController; + + public List OtherClients; + + [Space(3f)] + public UnlockablesList unlockablesList; + + public AudioClip changeSuitSFX; + + public GameObject suitPrefab; + + public int suitsPlaced; + + public Transform rightmostSuitPosition; + + [Space(5f)] + public GameObject playerPrefab; + + public GameObject ragdollGrabbableObjectPrefab; + + public List playerRagdolls; + + public GameObject playerBloodPrefab; + + public Transform bloodObjectsContainer; + + public Camera introCamera; + + public Camera activeCamera; + + public SimpleEvent CameraSwitchEvent; + + public GameObject testRoom; + + public bool localClientHasControl; + + public RuntimeAnimatorController localClientAnimatorController; + + public RuntimeAnimatorController otherClientsAnimatorController; + + public int playersMask; + + public int collidersAndRoomMask; + + public int collidersAndRoomMaskAndPlayers; + + public int collidersAndRoomMaskAndDefault; + + public int collidersRoomDefaultAndFoliage; + + public int allPlayersCollideWithMask; + + [Header("Physics")] + public Collider[] PlayerPhysicsColliders; + + [Header("Ship Animations")] + public NetworkObject shipAnimatorObject; + + public Animator shipAnimator; + + public AudioSource shipAmbianceAudio; + + public AudioSource ship3DAudio; + + public AudioClip shipDepartSFX; + + public AudioClip shipArriveSFX; + + public AudioSource shipDoorAudioSource; + + public AudioSource speakerAudioSource; + + public AudioClip suckedIntoSpaceSFX; + + public AudioClip airPressureSFX; + + public AudioClip[] shipCreakSFX; + + public AudioClip alarmSFX; + + public AudioClip firedVoiceSFX; + + public AudioClip openingHangarDoorAudio; + + public AudioClip allPlayersDeadAudio; + + public AudioClip shipIntroSpeechSFX; + + public AudioClip disableSpeakerSFX; + + public AudioClip zeroDaysLeftAlertSFX; + + public bool shipLeftAutomatically; + + public DialogueSegment[] openingDoorDialogue; + + public DialogueSegment[] gameOverDialogue; + + public DialogueSegment[] shipLeavingOnMidnightDialogue; + + public bool shipDoorsEnabled; + + public bool shipHasLanded; + + public Animator shipDoorsAnimator; + + public bool hangarDoorsClosed; + + private Coroutine shipTravelCoroutine; + + public ShipLights shipRoomLights; + + public AnimatedObjectTrigger closetLeftDoor; + + public AnimatedObjectTrigger closetRightDoor; + + public GameObject starSphereObject; + + public Dictionary SpawnedShipUnlockables; + + public Transform gameOverCameraHandle; + + public Transform freeCinematicCameraTurnCompass; + + public Camera freeCinematicCamera; + + [Header("Players fired animation")] + public bool firingPlayersCutsceneRunning; + + public bool suckingPlayersOutOfShip; + + private bool choseRandomFlyDirForPlayer; + + private Vector3 randomFlyDir; + + public float suckingPower; + + public bool suckingFurnitureOutOfShip; + + public Transform middleOfShipNode; + + public Transform shipDoorNode; + + public Transform middleOfSpaceNode; + + public Transform moveAwayFromShipNode; + + [Header("Level selection")] + public GameObject currentPlanetPrefab; + + public Animator currentPlanetAnimator; + + public Animator outerSpaceSunAnimator; + + public Transform planetContainer; + + public SelectableLevel[] levels; + + public SelectableLevel currentLevel; + + public int currentLevelID; + + public int defaultPlanet; + + public bool travellingToNewLevel; + + public AnimationCurve planetsWeatherRandomCurve; + + public int maxShipItemCapacity; + + public int currentShipItemCount; + + [Header("Ship Monitors")] + public TextMeshProUGUI screenLevelDescription; + + public VideoPlayer screenLevelVideoReel; + + public TextMeshProUGUI mapScreenPlayerName; + + public ManualCameraRenderer mapScreen; + + public GameObject objectCodePrefab; + + public GameObject itemRadarIconPrefab; + + [Space(5f)] + public TextMeshProUGUI deadlineMonitorText; + + public TextMeshProUGUI profitQuotaMonitorText; + + public GameObject upperMonitorsCanvas; + + public Canvas radarCanvas; + + [Header("Randomization")] + public int randomMapSeed; + + public bool overrideRandomSeed; + + public int overrideSeedNumber; + + public AnimationCurve objectFallToGroundCurve; + + public AnimationCurve objectFallToGroundCurveNoBounce; + + public AnimationCurve playerSinkingCurve; + + [Header("Voice chat")] + public DissonanceComms voiceChatModule; + + public float averageVoiceAmplitude; + + public int movingAverageLength; + + public int averageCount; + + private float voiceChatNoiseCooldown; + + public bool updatedPlayerVoiceEffectsThisFrame; + + [Header("Player Audios")] + public AudioMixerGroup playersVoiceMixerGroup; + + public FootstepSurface[] footstepSurfaces; + + public string[] naturalSurfaceTags; + + public AudioClip[] statusEffectClips; + + public AudioClip HUDSystemAlertSFX; + + public AudioClip playerJumpSFX; + + public AudioClip playerHitGroundSoft; + + public AudioClip playerHitGroundHard; + + public AudioClip damageSFX; + + public AudioClip fallDamageSFX; + + public AudioClip bloodGoreSFX; + + [Space(5f)] + public float drowningTimer; + + [HideInInspector] + public bool playedDrowningSFX; + + public AudioClip[] bodyCollisionSFX; + + public AudioClip playerFallDeath; + + public AudioClip hitPlayerSFX; + + private Coroutine fadeVolumeCoroutine; + + public List snowFootprintsPooledObjects; + + public GameObject footprintDecal; + + public int currentFootprintIndex; + + public GameObject explosionPrefab; + + public float fearLevel; + + public bool fearLevelIncreasing; + + [Header("Company building game loop")] + public float companyBuyingRate; + + public int hoursSinceLastCompanyVisit; + + public AudioClip companyVisitMusic; + + public bool localPlayerUsingController; + + private bool subscribedToConnectionApproval; + + public Collider shipBounds; + + public Collider shipInnerRoomBounds; + + private Coroutine updateVoiceEffectsCoroutine; + + public ReverbPreset shipReverb; + + public AnimationCurve drunknessSpeedEffect; + + public AnimationCurve drunknessSideEffect; + + private float updatePlayerVoiceInterval; + + private bool subscribedToConnectionCallbacks; + + public Volume blackSkyVolume; + + [Space(5f)] + public AllItemsList allItemsList; + + public InteractEvent playerTeleportedEvent; + + [Space(3f)] + public string[] randomNames; + + public static StartOfRound Instance + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + public void InstantiateFootprintsPooledObjects() + { + } + + private void ResetFootprintObjects() + { + } + + private void Awake() + { + } + + [ServerRpc(RequireOwnership = false)] + private void PlayerLoadedServerRpc(ulong clientId) + { + } + + [ClientRpc] + private void PlayerLoadedClientRpc(ulong clientId) + { + } + + [ClientRpc] + private void ResetPlayersLoadedValueClientRpc(bool landingShip = false) + { + } + + private void SceneManager_OnLoadComplete1(ulong clientId, string sceneName, LoadSceneMode loadSceneMode) + { + } + + private void SceneManager_OnUnloadComplete(ulong clientId, string sceneName) + { + } + + private void SceneManager_OnLoad(ulong clientId, string sceneName, LoadSceneMode loadSceneMode, AsyncOperation asyncOperation) + { + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + private void Start() + { + } + + private void DisableSpatializationOnAllAudio() + { + } + + [ServerRpc(RequireOwnership = false)] + public void BuyShipUnlockableServerRpc(int unlockableID, int newGroupCreditsAmount) + { + } + + [ClientRpc] + public void BuyShipUnlockableClientRpc(int newGroupCreditsAmount, int unlockableID = -1) + { + } + + [ServerRpc(RequireOwnership = false)] + public void ReturnUnlockableFromStorageServerRpc(int unlockableID) + { + } + + [ClientRpc] + public void ReturnUnlockableFromStorageClientRpc(int unlockableID) + { + } + + private void UnlockShipObject(int unlockableID) + { + } + + private void LoadUnlockables() + { + } + + private void SpawnUnlockable(int unlockableIndex) + { + } + + [ServerRpc] + public void SyncSuitsServerRpc() + { + } + + [ClientRpc] + public void SyncSuitsClientRpc() + { + } + + private void LoadShipGrabbableItems() + { + } + + private void SetTimeAndPlanetToSavedSettings() + { + } + + [IteratorStateMachine(typeof(_003CStartSpatialVoiceChat_003Ed__202))] + private IEnumerator StartSpatialVoiceChat() + { + return null; + } + + [IteratorStateMachine(typeof(_003CUpdatePlayerVoiceEffectsOnDelay_003Ed__203))] + private IEnumerator UpdatePlayerVoiceEffectsOnDelay() + { + return null; + } + + public void KickPlayer(int playerObjToKick) + { + } + + public void OnLocalDisconnect() + { + } + + public void OnClientDisconnect(ulong clientId) + { + } + + [ClientRpc] + public void OnClientDisconnectClientRpc(int playerObjectNumber, ulong clientId, ClientRpcParams clientRpcParams = default(ClientRpcParams)) + { + } + + public void OnPlayerDC(int playerObjectNumber, ulong clientId) + { + } + + public void OnClientConnect(ulong clientId) + { + } + + [ClientRpc] + private void OnPlayerConnectedClientRpc(ulong clientId, int connectedPlayers, ulong[] connectedPlayerIdsOrdered, int assignedPlayerObjectId, int serverMoneyAmount, int levelID, int profitQuota, int timeUntilDeadline, int quotaFulfilled, int randomSeed) + { + } + + private Vector3 GetPlayerSpawnPosition(int playerNum, bool simpleTeleport = false) + { + return default(Vector3); + } + + [ServerRpc(RequireOwnership = false)] + public void SyncAlreadyHeldObjectsServerRpc(int joiningClientId) + { + } + + [ClientRpc] + public void SyncAlreadyHeldObjectsClientRpc(NetworkObjectReference[] gObjects, int[] playersHeldBy, int[] itemSlotNumbers, int[] isObjectPocketed, int syncWithClient) + { + } + + [ServerRpc(RequireOwnership = false)] + public void SyncShipUnlockablesServerRpc() + { + } + + private void PositionSuitsOnRack() + { + } + + [ClientRpc] + public void SyncShipUnlockablesClientRpc(int[] playerSuitIDs, bool shipLightsOn, Vector3[] placeableObjectPositions, Vector3[] placeableObjectRotations, int[] placeableObjects, int[] storedItems, int[] scrapValues, int[] itemSaveData) + { + } + + public void StartTrackingAllPlayerVoices() + { + } + + [IteratorStateMachine(typeof(_003CsetPlayerToSpawnPosition_003Ed__218))] + private IEnumerator setPlayerToSpawnPosition(Transform playerBody, Vector3 spawnPos) + { + return null; + } + + private void Update() + { + } + + private string NoPunctuation(string input) + { + return null; + } + + private void SuckLocalPlayerOutOfShipDoor() + { + } + + private void DetectVoiceChatAmplitude() + { + } + + public void ShipLeaveAutomatically(bool leavingOnMidnight = false) + { + } + + public void SetSpectateCameraToGameOverMode(bool enableGameOver, PlayerControllerB localPlayer = null) + { + } + + public void SwitchCamera(Camera newCamera) + { + } + + [IteratorStateMachine(typeof(_003CgameOverAnimation_003Ed__226))] + private IEnumerator gameOverAnimation(bool leavingOnMidnight) + { + return null; + } + + [ServerRpc(RequireOwnership = false)] + public void StartGameServerRpc() + { + } + + public void StartGame() + { + } + + public void ChooseNewRandomMapSeed() + { + } + + [IteratorStateMachine(typeof(_003COpenShipDoors_003Ed__230))] + private IEnumerator OpenShipDoors() + { + return null; + } + + [IteratorStateMachine(typeof(_003CopeningDoorsSequence_003Ed__231))] + public IEnumerator openingDoorsSequence() + { + return null; + } + + private void OnShipLandedMiscEvents() + { + } + + public void ForcePlayerIntoShip() + { + } + + public void SetPlayerObjectExtrapolate(bool enable) + { + } + + [ServerRpc(RequireOwnership = false)] + public void EndGameServerRpc(int playerClientId) + { + } + + [ClientRpc] + public void EndGameClientRpc(int playerClientId) + { + } + + private void ShipLeave() + { + } + + public void ShipHasLeft() + { + } + + [IteratorStateMachine(typeof(_003CunloadSceneForAllPlayers_003Ed__239))] + private IEnumerator unloadSceneForAllPlayers() + { + return null; + } + + private int GetBodiesInShip() + { + return 0; + } + + [ClientRpc] + public void EndOfGameClientRpc(int bodiesInsured, int daysPlayersSurvived, int connectedPlayersOnServer) + { + } + + [IteratorStateMachine(typeof(_003CfadeVolume_003Ed__242))] + private IEnumerator fadeVolume(float finalVolume) + { + return null; + } + + public void ResetStats() + { + } + + public void WritePlayerNotes() + { + } + + [IteratorStateMachine(typeof(_003CEndOfGame_003Ed__245))] + private IEnumerator EndOfGame(int bodiesInsured = 0, int connectedPlayersOnServer = 0) + { + return null; + } + + private void PassTimeToNextDay(int connectedPlayersOnServer = 0) + { + } + + [IteratorStateMachine(typeof(_003CplayDaysLeftAlertSFXDelayed_003Ed__247))] + private IEnumerator playDaysLeftAlertSFXDelayed() + { + return null; + } + + [ClientRpc] + public void AllPlayersHaveRevivedClientRpc() + { + } + + private void AutoSaveShipData() + { + } + + [ClientRpc] + public void FirePlayersAfterDeadlineClientRpc(int[] endGameStats) + { + } + + [IteratorStateMachine(typeof(_003CplayersFiredGameOver_003Ed__251))] + private IEnumerator playersFiredGameOver() + { + return null; + } + + public void ResetShip() + { + } + + [ClientRpc] + public void EndPlayersFiredSequenceClientRpc() + { + } + + private void PlayFirstDayShipAnimation(bool waitForMenuToClose = false) + { + } + + [IteratorStateMachine(typeof(_003CfirstDayAnimation_003Ed__255))] + private IEnumerator firstDayAnimation(bool waitForMenuToClose) + { + return null; + } + + public void DisableShipSpeaker() + { + } + + [ServerRpc(RequireOwnership = false)] + public void StopShipSpeakerServerRpc(int playerWhoTriggered) + { + } + + [ClientRpc] + public void StopShipSpeakerClientRpc(int playerWhoTriggered) + { + } + + private void DisableShipSpeakerLocalClient() + { + } + + public void SetPlanetsWeather(int connectedPlayersOnServer = 0) + { + } + + private void SetShipReadyToLand() + { + } + + [IteratorStateMachine(typeof(_003CplayRandomShipAudio_003Ed__262))] + private IEnumerator playRandomShipAudio() + { + return null; + } + + [IteratorStateMachine(typeof(_003CResetDissonanceCommsComponent_003Ed__263))] + private IEnumerator ResetDissonanceCommsComponent() + { + return null; + } + + [ServerRpc(RequireOwnership = false)] + public void PlayerHasRevivedServerRpc() + { + } + + [IteratorStateMachine(typeof(_003CwaitingForOtherPlayersToRevive_003Ed__265))] + private IEnumerator waitingForOtherPlayersToRevive() + { + return null; + } + + public void ReviveDeadPlayers() + { + } + + private void ResetMiscValues() + { + } + + public void RefreshPlayerVoicePlaybackObjects() + { + } + + public void UpdatePlayerVoiceEffects() + { + } + + [ServerRpc] + public void SetShipDoorsOverheatServerRpc() + { + } + + [ClientRpc] + public void SetShipDoorsOverheatClientRpc() + { + } + + public void SetShipDoorsClosed(bool closed) + { + } + + [ServerRpc(RequireOwnership = false)] + public void SetDoorsClosedServerRpc(bool closed) + { + } + + [ClientRpc] + public void SetDoorsClosedClientRpc(bool closed) + { + } + + public void SetPlayerSafeInShip() + { + } + + public bool CanChangeLevels() + { + return false; + } + + [ServerRpc(RequireOwnership = false)] + public void ChangeLevelServerRpc(int levelID, int newGroupCreditsAmount) + { + } + + [ClientRpc] + public void CancelChangeLevelClientRpc(int groupCreditsAmount) + { + } + + [ClientRpc] + public void ChangeLevelClientRpc(int levelID, int newGroupCreditsAmount) + { + } + + public void ChangeLevel(int levelID) + { + } + + [IteratorStateMachine(typeof(_003CTravelToLevelEffects_003Ed__281))] + private IEnumerator TravelToLevelEffects() + { + return null; + } + + public void ArriveAtLevel() + { + } + + public void ChangePlanet() + { + } + + public void SetMapScreenInfoToCurrentLevel() + { + } + + public void SwitchMapMonitorPurpose(bool displayInfo = false) + { + } + + public void PowerSurgeShip() + { + } + + [ServerRpc(RequireOwnership = false)] + public void SyncCompanyBuyingRateServerRpc() + { + } + + [ClientRpc] + public void SyncCompanyBuyingRateClientRpc(float buyingRate) + { + } + + private void TeleportPlayerInShipIfOutOfRoomBounds() + { + } + + public void LateUpdate() + { + } + + public override void OnDestroy() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/StartOfRound.cs.meta b/Assets/Scripts/Assembly-CSharp/StartOfRound.cs.meta new file mode 100644 index 0000000..7ccb40a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/StartOfRound.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 41b10f8bc9685673b5d02b216869b091 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SteamLobbyManager.cs b/Assets/Scripts/Assembly-CSharp/SteamLobbyManager.cs new file mode 100644 index 0000000..f58416d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SteamLobbyManager.cs @@ -0,0 +1,85 @@ +using System.Diagnostics; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; +using Steamworks.Data; +using Steamworks.ServerList; +using TMPro; +using UnityEngine; + +public class SteamLobbyManager : MonoBehaviour +{ + [StructLayout(LayoutKind.Auto)] + [CompilerGenerated] + private struct _003CLoadServerList_003Ed__12 : IAsyncStateMachine + { + public int _003C_003E1__state; + + public AsyncVoidMethodBuilder _003C_003Et__builder; + + public SteamLobbyManager _003C_003E4__this; + + private TaskAwaiter _003C_003Eu__1; + + private void MoveNext() + { + } + + void IAsyncStateMachine.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + this.MoveNext(); + } + + [DebuggerHidden] + private void SetStateMachine(IAsyncStateMachine stateMachine) + { + } + + void IAsyncStateMachine.SetStateMachine(IAsyncStateMachine stateMachine) + { + //ILSpy generated this explicit interface implementation from .override directive in SetStateMachine + this.SetStateMachine(stateMachine); + } + } + + private Internet Request; + + private Lobby[] currentLobbyList; + + public TextMeshProUGUI serverListBlankText; + + public Transform levelListContainer; + + public GameObject LobbySlotPrefab; + + private float lobbySlotPositionOffset; + + public int sortByDistanceSetting; + + private float refreshServerListTimer; + + private void Start() + { + } + + public void ChangeDistanceSort(int newValue) + { + } + + private void DebugLogServerList() + { + } + + public void RefreshServerListButton() + { + } + + [AsyncStateMachine(typeof(_003CLoadServerList_003Ed__12))] + public void LoadServerList() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SteamLobbyManager.cs.meta b/Assets/Scripts/Assembly-CSharp/SteamLobbyManager.cs.meta new file mode 100644 index 0000000..427c619 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SteamLobbyManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: fa15c68f65f03f03f32590ca560af150 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SteamManager.cs b/Assets/Scripts/Assembly-CSharp/SteamManager.cs new file mode 100644 index 0000000..ea5e17b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SteamManager.cs @@ -0,0 +1,30 @@ +using System.Runtime.CompilerServices; +using UnityEngine; + +public class SteamManager : MonoBehaviour +{ + public static SteamManager Instance + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + private void Awake() + { + } + + private void OnDisable() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SteamManager.cs.meta b/Assets/Scripts/Assembly-CSharp/SteamManager.cs.meta new file mode 100644 index 0000000..93bfa9b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SteamManager.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 809261f2e46289b0f435b52696147ce4 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SteamValveHazard.cs b/Assets/Scripts/Assembly-CSharp/SteamValveHazard.cs new file mode 100644 index 0000000..82dd242 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SteamValveHazard.cs @@ -0,0 +1,75 @@ +using Unity.Netcode; +using UnityEngine; + +public class SteamValveHazard : NetworkBehaviour +{ + public float valveCrackTime; + + public float valveBurstTime; + + private bool valveHasBurst; + + private bool valveHasCracked; + + private bool valveHasBeenRepaired; + + public InteractTrigger triggerScript; + + [Header("Fog")] + public Animator fogAnimator; + + public Animator valveAnimator; + + public float fogSizeMultiplier; + + public float currentFogSize; + + [Header("Other Effects")] + public ParticleSystem valveSteamParticle; + + public AudioClip[] pipeFlowingSFX; + + public AudioClip valveTwistSFX; + + public AudioClip valveBurstSFX; + + public AudioClip valveCrackSFX; + + public AudioClip steamBlowSFX; + + public AudioSource valveAudio; + + private void Start() + { + } + + private void Update() + { + } + + private void CrackValve() + { + } + + private void BurstValve() + { + } + + private void FixValveLocalClient() + { + } + + public void FixValve() + { + } + + [ServerRpc(RequireOwnership = false)] + public void FixValveServerRpc() + { + } + + [ClientRpc] + public void FixValveClientRpc() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SteamValveHazard.cs.meta b/Assets/Scripts/Assembly-CSharp/SteamValveHazard.cs.meta new file mode 100644 index 0000000..5a41623 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SteamValveHazard.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a4fb1d5f2df5ffee9a248aeca33861d3 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/StormyWeather.cs b/Assets/Scripts/Assembly-CSharp/StormyWeather.cs new file mode 100644 index 0000000..f289792 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/StormyWeather.cs @@ -0,0 +1,173 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using DigitalRuby.ThunderAndLightning; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.AI; + +public class StormyWeather : MonoBehaviour +{ + [CompilerGenerated] + private sealed class _003CGetMetalObjectsAfterDelay_003Ed__31 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StormyWeather _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CGetMetalObjectsAfterDelay_003Ed__31(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + private float randomThunderTime; + + private float timeAtLastStrike; + + private Vector3 lastRandomStrikePosition; + + private System.Random seed; + + public AudioClip[] strikeSFX; + + public AudioClip[] distantThunderSFX; + + public LightningBoltPrefabScript randomThunder; + + public LightningBoltPrefabScript targetedThunder; + + public AudioSource randomStrikeAudio; + + public AudioSource randomStrikeAudioB; + + private bool lastStrikeAudioUsed; + + public AudioSource targetedStrikeAudio; + + private RaycastHit rayHit; + + private GameObject[] outsideNodes; + + private NavMeshHit navHit; + + public ParticleSystem explosionEffectParticle; + + private List metalObjects; + + private GrabbableObject targetingMetalObject; + + private float getObjectToTargetInterval; + + private float strikeMetalObjectTimer; + + private bool hasShownStrikeWarning; + + public ParticleSystem staticElectricityParticle; + + private GameObject setStaticToObject; + + private GrabbableObject setStaticGrabbableObject; + + public AudioClip staticElectricityAudio; + + private float lastGlobalTimeUsed; + + private float globalTimeAtLastStrike; + + private System.Random targetedThunderRandom; + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + private void OnGlobalTimeSync() + { + } + + [IteratorStateMachine(typeof(_003CGetMetalObjectsAfterDelay_003Ed__31))] + private IEnumerator GetMetalObjectsAfterDelay() + { + return null; + } + + public void SwitchCamera(Camera newCamera) + { + } + + private void DetermineNextStrikeInterval() + { + } + + private int RoundUpToNearestTen(float x) + { + return 0; + } + + private void Update() + { + } + + public void SetStaticElectricityWarning(NetworkObject warningObject, float particleTime) + { + } + + private void LightningStrikeRandom() + { + } + + public void LightningStrike(Vector3 strikePosition, bool useTargetedObject) + { + } + + private void PlayThunderEffects(Vector3 strikePosition, AudioSource audio) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/StormyWeather.cs.meta b/Assets/Scripts/Assembly-CSharp/StormyWeather.cs.meta new file mode 100644 index 0000000..7ca0940 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/StormyWeather.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: e00539b1f1199670ceb2cc50b2ca0bc7 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/StoryLog.cs b/Assets/Scripts/Assembly-CSharp/StoryLog.cs new file mode 100644 index 0000000..9ad7d70 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/StoryLog.cs @@ -0,0 +1,24 @@ +using Unity.Netcode; + +public class StoryLog : NetworkBehaviour +{ + public int storyLogID; + + private bool collected; + + public void CollectLog() + { + } + + private void Start() + { + } + + private void RemoveLogCollectible() + { + } + + public void SetStoryLogID(int logID) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/StoryLog.cs.meta b/Assets/Scripts/Assembly-CSharp/StoryLog.cs.meta new file mode 100644 index 0000000..e230fb6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/StoryLog.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 4f742befe8bc2839c528414d0678bf25 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/StunGrenadeItem.cs b/Assets/Scripts/Assembly-CSharp/StunGrenadeItem.cs new file mode 100644 index 0000000..0df92a3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/StunGrenadeItem.cs @@ -0,0 +1,131 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using UnityEngine; + +public class StunGrenadeItem : GrabbableObject +{ + [CompilerGenerated] + private sealed class _003CpullPinAnimation_003Ed__20 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public StunGrenadeItem _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CpullPinAnimation_003Ed__20(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public bool pinPulled; + + public bool inPullingPinAnimation; + + private Coroutine pullPinCoroutine; + + public Animator itemAnimator; + + public AudioSource itemAudio; + + public AudioClip pullPinSFX; + + public AudioClip explodeSFX; + + public AnimationCurve grenadeFallCurve; + + public AnimationCurve grenadeVerticalFallCurve; + + public AnimationCurve grenadeVerticalFallCurveNoBounce; + + public RaycastHit grenadeHit; + + public Ray grenadeThrowRay; + + public float explodeTimer; + + public bool hasExploded; + + public GameObject stunGrenadeExplosion; + + private PlayerControllerB playerThrownBy; + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } + + public override void EquipItem() + { + } + + private void SetControlTipForGrenade() + { + } + + public override void FallWithCurve() + { + } + + [IteratorStateMachine(typeof(_003CpullPinAnimation_003Ed__20))] + private IEnumerator pullPinAnimation() + { + return null; + } + + public override void Update() + { + } + + public void ExplodeGrenade() + { + } + + public Vector3 GetGrenadeThrowDestination() + { + return default(Vector3); + } +} diff --git a/Assets/Scripts/Assembly-CSharp/StunGrenadeItem.cs.meta b/Assets/Scripts/Assembly-CSharp/StunGrenadeItem.cs.meta new file mode 100644 index 0000000..0577094 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/StunGrenadeItem.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 58f3708306bb3c004fce8a3e57669b18 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/SyncWithServerOnSpawn.cs b/Assets/Scripts/Assembly-CSharp/SyncWithServerOnSpawn.cs new file mode 100644 index 0000000..f571969 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SyncWithServerOnSpawn.cs @@ -0,0 +1,16 @@ +using Unity.Netcode; + +public class SyncWithServerOnSpawn : NetworkBehaviour +{ + public RoundManager roundManager; + + private bool hasSynced; + + private void Start() + { + } + + public void SyncWithServer() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/SyncWithServerOnSpawn.cs.meta b/Assets/Scripts/Assembly-CSharp/SyncWithServerOnSpawn.cs.meta new file mode 100644 index 0000000..a57bd1f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/SyncWithServerOnSpawn.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: df4b01bb393f25b77651d602a8a33018 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/TVScript.cs b/Assets/Scripts/Assembly-CSharp/TVScript.cs new file mode 100644 index 0000000..78695d3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TVScript.cs @@ -0,0 +1,105 @@ +using Unity.Netcode; +using UnityEngine; +using UnityEngine.Video; + +public class TVScript : NetworkBehaviour +{ + public bool tvOn; + + private bool wasTvOnLastFrame; + + public MeshRenderer tvMesh; + + public VideoPlayer video; + + [Space(5f)] + public VideoClip[] tvClips; + + public AudioClip[] tvAudioClips; + + [Space(5f)] + private float currentClipTime; + + private int currentClip; + + public Material tvOnMaterial; + + public Material tvOffMaterial; + + public AudioClip switchTVOn; + + public AudioClip switchTVOff; + + public AudioSource tvSFX; + + private float timeSinceTurningOffTV; + + public Light tvLight; + + public void TurnTVOnOff(bool on) + { + } + + public void SwitchTVLocalClient() + { + } + + [ServerRpc(RequireOwnership = false)] + public void TurnOnTVServerRpc() + { + } + + [ClientRpc] + public void TurnOnTVClientRpc() + { + } + + [ClientRpc] + public void TurnOnTVAndSyncClientRpc(int clipIndex, float clipTime) + { + } + + [ServerRpc(RequireOwnership = false)] + public void TurnOffTVServerRpc() + { + } + + [ClientRpc] + public void TurnOffTVClientRpc() + { + } + + [ServerRpc(RequireOwnership = false)] + public void SyncTVServerRpc() + { + } + + [ClientRpc] + public void SyncTVClientRpc(int clipIndex, float clipTime, bool isOn) + { + } + + private void SyncTimeAndClipWithClients(int clipIndex, float clipTime, bool isOn) + { + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + private void TVFinishedClip(VideoPlayer source) + { + } + + private void Update() + { + } + + private void SetTVScreenMaterial(bool on) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/TVScript.cs.meta b/Assets/Scripts/Assembly-CSharp/TVScript.cs.meta new file mode 100644 index 0000000..54ca8ab --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TVScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: da1d3dca9a4737dbb9423eef1a5fa1a2 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Terminal.cs b/Assets/Scripts/Assembly-CSharp/Terminal.cs new file mode 100644 index 0000000..6b2778d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Terminal.cs @@ -0,0 +1,764 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using TMPro; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.InputSystem; +using UnityEngine.UI; +using UnityEngine.Video; + +public class Terminal : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003C_003Ec__DisplayClass89_0 + { + public QuickMenuManager quickMenu; + + internal bool _003CdisplayReimbursedTipDelay_003Eb__0() + { + return false; + } + } + + [CompilerGenerated] + private sealed class _003CdisplayReimbursedTipDelay_003Ed__89 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + private _003C_003Ec__DisplayClass89_0 _003C_003E8__1; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CdisplayReimbursedTipDelay_003Ed__89(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CforceScrollbarDown_003Ed__59 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public Terminal _003C_003E4__this; + + private int _003Ci_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CforceScrollbarDown_003Ed__59(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CforceScrollbarUp_003Ed__60 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public Terminal _003C_003E4__this; + + private int _003Ci_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CforceScrollbarUp_003Ed__60(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CloadImageSlowly_003Ed__68 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public Terminal _003C_003E4__this; + + private float _003CpaddingValue_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CloadImageSlowly_003Ed__68(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CloadTextAnimation_003Ed__64 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public Terminal _003C_003E4__this; + + private int _003Ci_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CloadTextAnimation_003Ed__64(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CselectTextFieldDelayed_003Ed__94 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public Terminal _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CselectTextFieldDelayed_003Ed__94(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CwaitUntilFrameEndToSetActive_003Ed__88 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public Terminal _003C_003E4__this; + + public bool active; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CwaitUntilFrameEndToSetActive_003Ed__88(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public Canvas terminalUIScreen; + + public PlayerActions playerActions; + + public bool terminalInUse; + + private InteractTrigger terminalTrigger; + + public RawImage terminalImage; + + public RectMask2D terminalImageMask; + + public RenderTexture videoTexture; + + public VideoPlayer videoPlayer; + + public TMP_InputField screenText; + + public int textAdded; + + public string currentText; + + public TerminalNode currentNode; + + public TerminalNodesList terminalNodes; + + [Space(3f)] + public Animator terminalUIAnimator; + + public PlaceableShipObject placeableObject; + + private bool usedTerminalThisSession; + + private bool modifyingText; + + public int playerDefinedAmount; + + private RoundManager roundManager; + + public int groupCredits; + + private int totalCostOfItems; + + public AudioSource terminalAudio; + + public AudioClip[] keyboardClips; + + public AudioClip[] syncedAudios; + + private float timeSinceLastKeyboardPress; + + public bool useCreditsCooldown; + + private Coroutine loadImageCoroutine; + + private bool hasGottenNoun; + + private bool hasGottenVerb; + + [Space(7f)] + private bool broadcastedCodeThisFrame; + + public Animator codeBroadcastAnimator; + + public AudioClip codeBroadcastSFX; + + [Space(5f)] + public List scannedEnemyIDs; + + public List enemyFiles; + + public List newlyScannedEnemyIDs; + + [Space(3f)] + public List unlockedStoryLogs; + + public List logEntryFiles; + + public List newlyUnlockedStoryLogs; + + [Space(7f)] + public List ShipDecorSelection; + + private bool syncedTerminalValues; + + public int numberOfItemsInDropship; + + public Scrollbar scrollBarVertical; + + public TextMeshProUGUI inputFieldText; + + public CanvasGroup scrollBarCanvasGroup; + + public RenderTexture playerScreenTex; + + public RenderTexture playerScreenTexHighRes; + + public TextMeshProUGUI topRightText; + + public SelectableLevel[] moonsCatalogueList; + + [Header("Store-bought player items")] + public Item[] buyableItemsList; + + public int[] itemSalesPercentages; + + [Space(3f)] + public List orderedItemsFromTerminal; + + [Space(5f)] + private Coroutine selectTextFieldCoroutine; + + public AudioClip enterTerminalSFX; + + public AudioClip leaveTerminalSFX; + + public Light terminalLight; + + private Coroutine forceScrollbarCoroutine; + + public bool displayingSteamKeyboard; + + public Texture displayingPersistentImage; + + private void Update() + { + } + + [IteratorStateMachine(typeof(_003CforceScrollbarDown_003Ed__59))] + private IEnumerator forceScrollbarDown() + { + return null; + } + + [IteratorStateMachine(typeof(_003CforceScrollbarUp_003Ed__60))] + private IEnumerator forceScrollbarUp() + { + return null; + } + + public void LoadNewNode(TerminalNode node) + { + } + + [ServerRpc(RequireOwnership = false)] + public void PlayTerminalAudioServerRpc(int clipIndex) + { + } + + [ClientRpc] + public void PlayTerminalAudioClientRpc(int clipIndex) + { + } + + [IteratorStateMachine(typeof(_003CloadTextAnimation_003Ed__64))] + private IEnumerator loadTextAnimation() + { + return null; + } + + private string TextPostProcess(string modifiedDisplayText, TerminalNode node) + { + return null; + } + + public void RunTerminalEvents(TerminalNode node) + { + } + + public void LoadTerminalImage(TerminalNode node) + { + } + + [IteratorStateMachine(typeof(_003CloadImageSlowly_003Ed__68))] + private IEnumerator loadImageSlowly() + { + return null; + } + + public void OnSubmit() + { + } + + private void AttemptLoadCreatureFileNode(TerminalNode node) + { + } + + private void AttemptLoadStoryLogFileNode(TerminalNode node) + { + } + + private void LoadNewNodeIfAffordable(TerminalNode node) + { + } + + private void SyncBoughtItemsWithServer(int[] boughtItems, int numItemsInShip) + { + } + + [ServerRpc(RequireOwnership = false)] + public void BuyItemsServerRpc(int[] boughtItems, int newGroupCredits, int numItemsInShip) + { + } + + [ServerRpc(RequireOwnership = false)] + public void SyncGroupCreditsServerRpc(int newGroupCredits, int numItemsInShip) + { + } + + [ClientRpc] + public void SyncGroupCreditsClientRpc(int newGroupCredits, int numItemsInShip) + { + } + + private TerminalNode ParsePlayerSentence() + { + return null; + } + + private int CheckForPlayerNameCommand(string firstWord, string secondWord) + { + return 0; + } + + private TerminalKeyword CheckForExactSentences(string playerWord) + { + return null; + } + + private TerminalKeyword ParseWord(string playerWord, int specificityRequired = 2) + { + return null; + } + + private TerminalNode ParseWordOverrideOptions(string playerWord, CompatibleNoun[] options) + { + return null; + } + + public void TextChanged(string newText) + { + } + + private string RemovePunctuation(string s) + { + return null; + } + + private void CallFunctionInAccessibleTerminalObject(string word) + { + } + + private void PlayBroadcastCodeEffect() + { + } + + private void Awake() + { + } + + private void Start() + { + } + + [IteratorStateMachine(typeof(_003CwaitUntilFrameEndToSetActive_003Ed__88))] + private IEnumerator waitUntilFrameEndToSetActive(bool active) + { + return null; + } + + [IteratorStateMachine(typeof(_003CdisplayReimbursedTipDelay_003Ed__89))] + private IEnumerator displayReimbursedTipDelay() + { + return null; + } + + [ServerRpc(RequireOwnership = false)] + public void SyncTerminalValuesServerRpc() + { + } + + [ClientRpc] + public void SyncTerminalValuesClientRpc(int newGroupCredits = 0, int numItemsInDropship = 0, int[] scannedEnemies = null, int[] storyLogs = null) + { + } + + public void BeginUsingTerminal() + { + } + + public void OnGamepadTextInputDismissed_t(bool submitted) + { + } + + [IteratorStateMachine(typeof(_003CselectTextFieldDelayed_003Ed__94))] + private IEnumerator selectTextFieldDelayed() + { + return null; + } + + public void QuitTerminal() + { + } + + private void OnEnable() + { + } + + private void OnDisable() + { + } + + private void PressESC(InputAction.CallbackContext context) + { + } + + public void RotateShipDecorSelection() + { + } + + private void InitializeItemSalesPercentages() + { + } + + public void SetItemSales() + { + } + + private int RoundToNearestTen(int i) + { + return 0; + } + + public void SetTerminalInUseLocalClient(bool inUse) + { + } + + [ServerRpc(RequireOwnership = false)] + public void SetTerminalInUseServerRpc(bool inUse) + { + } + + [ClientRpc] + public void SetTerminalInUseClientRpc(bool inUse) + { + } + + public void SetTerminalNoLongerInUse() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/Terminal.cs.meta b/Assets/Scripts/Assembly-CSharp/Terminal.cs.meta new file mode 100644 index 0000000..94df1f5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Terminal.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 4f61a593bb5dfe44bc907499ad50386c +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/TerminalAccessibleObject.cs b/Assets/Scripts/Assembly-CSharp/TerminalAccessibleObject.cs new file mode 100644 index 0000000..74781ff --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TerminalAccessibleObject.cs @@ -0,0 +1,172 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using TMPro; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.UI; + +public class TerminalAccessibleObject : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003CcountCodeAccessCooldown_003Ed__20 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public TerminalAccessibleObject _003C_003E4__this; + + private Image _003CcooldownBar_003E5__2; + + private int _003CframeNum_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CcountCodeAccessCooldown_003Ed__20(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public string objectCode; + + public float codeAccessCooldownTimer; + + private float currentCooldownTimer; + + private bool inCooldown; + + public InteractEvent terminalCodeEvent; + + public InteractEvent terminalCodeCooldownEvent; + + public bool setCodeRandomlyFromRoundManager; + + [Space(3f)] + public MeshRenderer[] codeMaterials; + + public int rows; + + public int columns; + + [Space(3f)] + public bool isBigDoor; + + private TextMeshProUGUI mapRadarText; + + private Image mapRadarBox; + + private Image mapRadarBoxSlider; + + private bool initializedValues; + + private bool playerHitDoorTrigger; + + private bool isDoorOpen; + + private bool isPoweredOn; + + public void CallFunctionFromTerminal() + { + } + + public void TerminalCodeCooldownReached() + { + } + + [IteratorStateMachine(typeof(_003CcountCodeAccessCooldown_003Ed__20))] + private IEnumerator countCodeAccessCooldown() + { + return null; + } + + public void OnPowerSwitch(bool switchedOn) + { + } + + [ServerRpc(RequireOwnership = false)] + public void SetDoorOpenServerRpc(bool open) + { + } + + [ClientRpc] + public void SetDoorOpenClientRpc(bool open) + { + } + + public void SetDoorToggleLocalClient() + { + } + + public void SetDoorLocalClient(bool open) + { + } + + public void SetDoorOpen(bool open) + { + } + + public void SetCodeTo(int codeIndex) + { + } + + private void Start() + { + } + + public void InitializeValues() + { + } + + public override void OnDestroy() + { + } + + private void SetMaterialUV(int codeIndex) + { + } + + private void OnTriggerEnter(Collider other) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/TerminalAccessibleObject.cs.meta b/Assets/Scripts/Assembly-CSharp/TerminalAccessibleObject.cs.meta new file mode 100644 index 0000000..b6e2b98 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TerminalAccessibleObject.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: f2c662b0f92d7236699123213e2fb9f4 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/TerminalEvent.cs b/Assets/Scripts/Assembly-CSharp/TerminalEvent.cs new file mode 100644 index 0000000..11cfaba --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TerminalEvent.cs @@ -0,0 +1,7 @@ +using System; +using UnityEngine.Events; + +[Serializable] +public class TerminalEvent : UnityEvent +{ +} diff --git a/Assets/Scripts/Assembly-CSharp/TerminalEvent.cs.meta b/Assets/Scripts/Assembly-CSharp/TerminalEvent.cs.meta new file mode 100644 index 0000000..08bc759 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TerminalEvent.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 06b68ac8f458a6d4389b8e6324b80755 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/TerminalKeyword.cs b/Assets/Scripts/Assembly-CSharp/TerminalKeyword.cs new file mode 100644 index 0000000..dd728e4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TerminalKeyword.cs @@ -0,0 +1,19 @@ +using UnityEngine; + +[CreateAssetMenu(menuName = "ScriptableObjects/TerminalKeyword", order = 3)] +public class TerminalKeyword : ScriptableObject +{ + public string word; + + public bool isVerb; + + public CompatibleNoun[] compatibleNouns; + + public TerminalNode specialKeywordResult; + + [Space(5f)] + public TerminalKeyword defaultVerb; + + [Space(3f)] + public bool accessTerminalObjects; +} diff --git a/Assets/Scripts/Assembly-CSharp/TerminalKeyword.cs.meta b/Assets/Scripts/Assembly-CSharp/TerminalKeyword.cs.meta new file mode 100644 index 0000000..590691d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TerminalKeyword.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: d3cecf05b78b173605122a700874719c +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/TerminalNode.cs b/Assets/Scripts/Assembly-CSharp/TerminalNode.cs new file mode 100644 index 0000000..2ecaca2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TerminalNode.cs @@ -0,0 +1,65 @@ +using UnityEngine; +using UnityEngine.Video; + +[CreateAssetMenu(menuName = "ScriptableObjects/TerminalNode", order = 2)] +public class TerminalNode : ScriptableObject +{ + [TextArea(2, 20)] + public string displayText; + + public string terminalEvent; + + [Space(5f)] + public bool clearPreviousText; + + public int maxCharactersToType; + + [Space(5f)] + [Header("Purchasing items")] + public int buyItemIndex; + + public bool isConfirmationNode; + + public int buyRerouteToMoon; + + public int displayPlanetInfo; + + public bool lockedInDemo; + + [Space(3f)] + public int shipUnlockableID; + + public bool buyUnlockable; + + public bool returnFromStorage; + + [Space(3f)] + public int itemCost; + + [Header("Bestiary / Logs")] + public int creatureFileID; + + public string creatureName; + + public int storyLogFileID; + + [Space(5f)] + public bool overrideOptions; + + public bool acceptAnything; + + public CompatibleNoun[] terminalOptions; + + [Header("Misc")] + public AudioClip playClip; + + public int playSyncedClip; + + public Texture displayTexture; + + public VideoClip displayVideo; + + public bool loadImageSlowly; + + public bool persistentImage; +} diff --git a/Assets/Scripts/Assembly-CSharp/TerminalNode.cs.meta b/Assets/Scripts/Assembly-CSharp/TerminalNode.cs.meta new file mode 100644 index 0000000..c07d197 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TerminalNode.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 0e80ae96b3eb9177eea5c8f9dadbcda1 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/TerminalNodesList.cs b/Assets/Scripts/Assembly-CSharp/TerminalNodesList.cs new file mode 100644 index 0000000..c7283c9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TerminalNodesList.cs @@ -0,0 +1,12 @@ +using System.Collections.Generic; +using UnityEngine; + +[CreateAssetMenu(menuName = "ScriptableObjects/TerminalNodesList", order = 2)] +public class TerminalNodesList : ScriptableObject +{ + public List specialNodes; + + public List terminalNodes; + + public TerminalKeyword[] allKeywords; +} diff --git a/Assets/Scripts/Assembly-CSharp/TerminalNodesList.cs.meta b/Assets/Scripts/Assembly-CSharp/TerminalNodesList.cs.meta new file mode 100644 index 0000000..e694ee8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TerminalNodesList.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: c5d5b7b2b1a6a0164e51af95a82c4502 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/TestEnemy.cs b/Assets/Scripts/Assembly-CSharp/TestEnemy.cs new file mode 100644 index 0000000..59aba0a --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TestEnemy.cs @@ -0,0 +1,28 @@ +using UnityEngine; + +public class TestEnemy : EnemyAI +{ + public float detectionRadius; + + private Collider[] allPlayerColliders; + + private float closestPlayerDist; + + private Collider tempTargetCollider; + + public bool detectingPlayers; + + private bool tempDebug; + + public override void Start() + { + } + + public override void DoAIInterval() + { + } + + public override void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/TestEnemy.cs.meta b/Assets/Scripts/Assembly-CSharp/TestEnemy.cs.meta new file mode 100644 index 0000000..960c4c6 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TestEnemy.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: fe073d9c70339152b398c5335c216924 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/TestScript.cs b/Assets/Scripts/Assembly-CSharp/TestScript.cs new file mode 100644 index 0000000..d5f9057 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TestScript.cs @@ -0,0 +1,12 @@ +using UnityEngine; + +public class TestScript : MonoBehaviour +{ + private void Start() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/TestScript.cs.meta b/Assets/Scripts/Assembly-CSharp/TestScript.cs.meta new file mode 100644 index 0000000..87aa8c1 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TestScript.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 8d2d81690d93c6d6c9d0fdf28bb7d13d +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/TetraChemicalItem.cs b/Assets/Scripts/Assembly-CSharp/TetraChemicalItem.cs new file mode 100644 index 0000000..de289b3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TetraChemicalItem.cs @@ -0,0 +1,121 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class TetraChemicalItem : GrabbableObject +{ + [CompilerGenerated] + private sealed class _003CUseTZPAnimation_003Ed__13 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public TetraChemicalItem _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CUseTZPAnimation_003Ed__13(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + private PlayerControllerB previousPlayerHeldBy; + + private Coroutine useTZPCoroutine; + + private bool emittingGas; + + private float fuel; + + public AudioSource localHelmetSFX; + + public AudioSource thisAudioSource; + + public AudioClip twistCanSFX; + + public AudioClip releaseGasSFX; + + public AudioClip holdCanSFX; + + public AudioClip removeCanSFX; + + public AudioClip outOfGasSFX; + + private bool triedUsingWithoutFuel; + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } + + [IteratorStateMachine(typeof(_003CUseTZPAnimation_003Ed__13))] + private IEnumerator UseTZPAnimation() + { + return null; + } + + public override void Update() + { + } + + public override void EquipItem() + { + } + + [ServerRpc] + public void RunOutOfFuelServerRpc() + { + } + + [ClientRpc] + public void RunOutOfFuelClientRpc() + { + } + + public override void DiscardItem() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/TetraChemicalItem.cs.meta b/Assets/Scripts/Assembly-CSharp/TetraChemicalItem.cs.meta new file mode 100644 index 0000000..3a51a7b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TetraChemicalItem.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 6aabb834f6dcc403c9eff8b64480c896 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Threat.cs b/Assets/Scripts/Assembly-CSharp/Threat.cs new file mode 100644 index 0000000..823ca80 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Threat.cs @@ -0,0 +1,26 @@ +using System; +using UnityEngine; + +[Serializable] +public class Threat +{ + public IVisibleThreat threatScript; + + public Vector3 lastSeenPosition; + + public int threatLevel; + + public ThreatType type; + + public int focusLevel; + + public float timeLastSeen; + + public float distanceToThreat; + + public float distanceMovedTowardsBaboon; + + public int interestLevel; + + public bool hasAttacked; +} diff --git a/Assets/Scripts/Assembly-CSharp/Threat.cs.meta b/Assets/Scripts/Assembly-CSharp/Threat.cs.meta new file mode 100644 index 0000000..564f7e4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Threat.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: bee1b9991501b5f4987daebf828f7c4a +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ThreatType.cs b/Assets/Scripts/Assembly-CSharp/ThreatType.cs new file mode 100644 index 0000000..54aa525 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ThreatType.cs @@ -0,0 +1,11 @@ +using System; + +[Serializable] +public enum ThreatType +{ + Player = 0, + Projectile = 1, + Bees = 2, + EyelessDog = 3, + ForestGiant = 4 +} diff --git a/Assets/Scripts/Assembly-CSharp/ThreatType.cs.meta b/Assets/Scripts/Assembly-CSharp/ThreatType.cs.meta new file mode 100644 index 0000000..c3037fb --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ThreatType.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8f743f4f0b2cc544ebd74fdda3b66ae4 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/TimeOfDay.cs b/Assets/Scripts/Assembly-CSharp/TimeOfDay.cs new file mode 100644 index 0000000..684a5f7 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TimeOfDay.cs @@ -0,0 +1,402 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using Unity.Netcode; +using UnityEngine; +using UnityEngine.Events; +using UnityEngine.Rendering.HighDefinition; + +public class TimeOfDay : NetworkBehaviour +{ + [CompilerGenerated] + private sealed class _003CfadeOutEffect_003Ed__79 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public WeatherEffect effect; + + public Vector3 moveFromPosition; + + public TimeOfDay _003C_003E4__this; + + private int _003Ci_003E5__2; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CfadeOutEffect_003Ed__79(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [CompilerGenerated] + private sealed class _003CplaySoundDelayed_003Ed__78 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public float delay; + + public TimeOfDay _003C_003E4__this; + + public AudioClip clip; + + public bool playRandomDaytimeMusic; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CplaySoundDelayed_003Ed__78(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [Header("Time")] + public SelectableLevel currentLevel; + + public float globalTimeSpeedMultiplier; + + public float currentDayTime; + + public int hour; + + private int previousHour; + + public float normalizedTimeOfDay; + + [Space(5f)] + public float globalTime; + + public float globalTimeAtEndOfDay; + + public bool movingGlobalTimeForward; + + [Space(10f)] + private bool reachedQuota; + + public QuotaSettings quotaVariables; + + public int profitQuota; + + public int quotaFulfilled; + + public int timesFulfilledQuota; + + public float timeUntilDeadline; + + public int daysUntilDeadline; + + public int hoursUntilDeadline; + + [Space(5f)] + public float lengthOfHours; + + public int numberOfHours; + + public float totalTime; + + public const int startingGlobalTime = 100; + + [Space(3f)] + public float shipLeaveAutomaticallyTime; + + [Space(5f)] + public bool currentDayTimeStarted; + + private bool timeStartedThisFrame; + + public StartOfRound playersManager; + + public Animator sunAnimator; + + public Light sunIndirect; + + public Light sunDirect; + + public bool insideLighting; + + public DayMode dayMode; + + private DayMode dayModeLastTimePlayerWasOutside; + + public AudioClip[] timeOfDayCues; + + public AudioSource TimeOfDayMusic; + + private HDAdditionalLightData indirectLightData; + + [Header("Weather")] + public WeatherEffect[] effects; + + public LevelWeatherType currentLevelWeather; + + public int currentWeatherVariable; + + public int currentWeatherVariable2; + + [Space(4f)] + public CompanyMood currentCompanyMood; + + public CompanyMood[] CommonCompanyMoods; + + [Space(4f)] + private float changeHUDTimeInterval; + + private float syncTimeInterval; + + public bool shipLeavingAlertCalled; + + public DialogueSegment[] shipLeavingSoonDialogue; + + public DialogueSegment[] shipLeavingEarlyDialogue; + + private bool shipLeavingOnMidnight; + + private bool shipFullCapacityAtMidnightMessage; + + private Coroutine playDelayedMusicCoroutine; + + public int votesForShipToLeaveEarly; + + public bool votedShipToLeaveEarlyThisRound; + + public UnityEvent onTimeSync; + + public static TimeOfDay Instance + { + [CompilerGenerated] + get + { + return null; + } + [CompilerGenerated] + private set + { + } + } + + private void Awake() + { + } + + private void Start() + { + } + + private void Update() + { + } + + public void MoveGlobalTime() + { + } + + public float CalculatePlanetTime(SelectableLevel level) + { + return 0f; + } + + public float CalculatePlanetTimeClampToEndOfDay(SelectableLevel level) + { + return 0f; + } + + private void MoveTimeOfDay() + { + } + + public void SetInsideLightingDimness(bool doNotLerp = false, bool setValueTo = false) + { + } + + private void SyncGlobalTimeOnNetwork() + { + } + + [ClientRpc] + public void SyncTimeClientRpc(float time, int deadline) + { + } + + public void TimeOfDayEvents() + { + } + + public void SetNewProfitQuota() + { + } + + [ClientRpc] + public void SyncNewProfitQuotaClientRpc(int newProfitQuota, int overtimeBonus, int fulfilledQuota) + { + } + + public void UpdateProfitQuotaCurrentTime() + { + } + + [ClientRpc] + public void SetShipToLeaveOnMidnightClientRpc() + { + } + + public void VoteShipToLeaveEarly() + { + } + + [ServerRpc(RequireOwnership = false)] + public void SetShipLeaveEarlyServerRpc() + { + } + + [ClientRpc] + public void AddVoteForShipToLeaveEarlyClientRpc() + { + } + + [ClientRpc] + public void SetShipLeaveEarlyClientRpc(float timeToLeaveEarly, int votes) + { + } + + [ClientRpc] + public void ShipFullCapacityMidnightClientRpc() + { + } + + public DayMode GetDayPhase(float time) + { + return default(DayMode); + } + + private void PlayerSeesNewTimeOfDay() + { + } + + public void PlayTimeMusicDelayed(AudioClip clip, float delay, bool playRandomDaytimeMusic = false) + { + } + + [IteratorStateMachine(typeof(_003CplaySoundDelayed_003Ed__78))] + private IEnumerator playSoundDelayed(AudioClip clip, float delay, bool playRandomDaytimeMusic) + { + return null; + } + + [IteratorStateMachine(typeof(_003CfadeOutEffect_003Ed__79))] + private IEnumerator fadeOutEffect(WeatherEffect effect, Vector3 moveFromPosition) + { + return null; + } + + private void SetWeatherEffects() + { + } + + private void DisableWeatherEffect(WeatherEffect effect) + { + } + + public void DisableAllWeather(bool deactivateObjects = false) + { + } + + public void RefreshClockUI() + { + } + + public void OnHourChanged(int amount = 1) + { + } + + public void OnDayChanged() + { + } + + public void SetCompanyMood() + { + } + + public void SetBuyingRateForDay() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/TimeOfDay.cs.meta b/Assets/Scripts/Assembly-CSharp/TimeOfDay.cs.meta new file mode 100644 index 0000000..cdf1037 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TimeOfDay.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 05626d98d2411b452c2bf16fe56a1dcc +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ToggleAllLightsInContainer.cs b/Assets/Scripts/Assembly-CSharp/ToggleAllLightsInContainer.cs new file mode 100644 index 0000000..5dc88f2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ToggleAllLightsInContainer.cs @@ -0,0 +1,14 @@ +using UnityEngine; + +public class ToggleAllLightsInContainer : MonoBehaviour +{ + public Material offMaterial; + + public Material onMaterial; + + public int materialIndex; + + public void ToggleLights(bool on) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ToggleAllLightsInContainer.cs.meta b/Assets/Scripts/Assembly-CSharp/ToggleAllLightsInContainer.cs.meta new file mode 100644 index 0000000..b47b429 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ToggleAllLightsInContainer.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: a01ec95fd817283720bcef720a6329dd +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/ToggleFogTrigger.cs b/Assets/Scripts/Assembly-CSharp/ToggleFogTrigger.cs new file mode 100644 index 0000000..00b8bc9 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ToggleFogTrigger.cs @@ -0,0 +1,100 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using UnityEngine; +using UnityEngine.Rendering.HighDefinition; + +public class ToggleFogTrigger : MonoBehaviour +{ + [CompilerGenerated] + private sealed class _003CfadeOutFog_003Ed__9 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public ToggleFogTrigger _003C_003E4__this; + + private float _003Cfog1StartingValue_003E5__2; + + private float _003Cfog2StartingValue_003E5__3; + + private int _003Ci_003E5__4; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CfadeOutFog_003Ed__9(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public LocalVolumetricFog fog1; + + public float fog1EnabledAmount; + + public LocalVolumetricFog fog2; + + public float fog2EnabledAmount; + + private Coroutine fadeOutFogCoroutine; + + private bool fadingInFog; + + private void Update() + { + } + + private void OnTriggerEnter(Collider other) + { + } + + private void OnTriggerExit(Collider other) + { + } + + [IteratorStateMachine(typeof(_003CfadeOutFog_003Ed__9))] + private IEnumerator fadeOutFog() + { + return null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/ToggleFogTrigger.cs.meta b/Assets/Scripts/Assembly-CSharp/ToggleFogTrigger.cs.meta new file mode 100644 index 0000000..c77a53b --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/ToggleFogTrigger.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 366de054cab6c09c5497b66bd4d09fe6 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/TransformAndName.cs b/Assets/Scripts/Assembly-CSharp/TransformAndName.cs new file mode 100644 index 0000000..4cd8f62 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TransformAndName.cs @@ -0,0 +1,16 @@ +using System; +using UnityEngine; + +[Serializable] +public class TransformAndName +{ + public Transform transform; + + public string name; + + public bool isNonPlayer; + + public TransformAndName(Transform newTransform, string newName, bool nonPlayer = false) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/TransformAndName.cs.meta b/Assets/Scripts/Assembly-CSharp/TransformAndName.cs.meta new file mode 100644 index 0000000..aa8b4a8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TransformAndName.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 4adbef5822fa3ce4ba7a355b13e760cd +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Turret.cs b/Assets/Scripts/Assembly-CSharp/Turret.cs new file mode 100644 index 0000000..3683382 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Turret.cs @@ -0,0 +1,251 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class Turret : NetworkBehaviour, IHittable +{ + [CompilerGenerated] + private sealed class _003CFadeBulletAudio_003Ed__46 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public Turret _003C_003E4__this; + + private float _003CinitialVolume_003E5__2; + + private int _003Ci_003E5__3; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CFadeBulletAudio_003Ed__46(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + [Header("Effects")] + public AudioSource mainAudio; + + [Header("Effects")] + public AudioSource bulletCollisionAudio; + + [Header("Effects")] + public AudioSource farAudio; + + public AudioClip firingSFX; + + public AudioClip chargingSFX; + + public AudioClip detectPlayerSFX; + + public AudioClip firingFarSFX; + + public AudioClip bulletsHitWallSFX; + + public AudioClip turretActivate; + + public AudioClip turretDeactivate; + + public ParticleSystem bulletParticles; + + public Animator turretAnimator; + + [Header("Variables")] + public bool turretActive; + + [Space(5f)] + public TurretMode turretMode; + + private TurretMode turretModeLastFrame; + + public Transform turretRod; + + public float targetRotation; + + public float rotationSpeed; + + public Transform turnTowardsObjectCompass; + + public Transform forwardFacingPos; + + public Transform aimPoint; + + public Transform centerPoint; + + public PlayerControllerB targetPlayerWithRotation; + + public Transform targetTransform; + + private bool targetingDeadPlayer; + + public float rotationRange; + + public float currentRotation; + + public bool rotatingOnInterval; + + private bool rotatingRight; + + private float switchRotationTimer; + + private bool hasLineOfSight; + + private float lostLOSTimer; + + private bool wasTargetingPlayerLastFrame; + + private RaycastHit hit; + + private int wallAndPlayerMask; + + private float turretInterval; + + private string previousHitLog; + + private bool rotatingSmoothly; + + private Ray shootRay; + + private Coroutine fadeBulletAudioCoroutine; + + public Transform tempTransform; + + private bool rotatingClockwise; + + private float berserkTimer; + + public AudioSource berserkAudio; + + private bool enteringBerserkMode; + + private void Start() + { + } + + [IteratorStateMachine(typeof(_003CFadeBulletAudio_003Ed__46))] + private IEnumerator FadeBulletAudio() + { + return null; + } + + private void Update() + { + } + + private void SetTargetToPlayerBody() + { + } + + private void TurnTowardsTargetIfHasLOS() + { + } + + public PlayerControllerB CheckForPlayersInLineOfSight(float radius = 2f, bool angleRangeCheck = false) + { + return null; + } + + [ClientRpc] + public void SwitchRotationClientRpc(bool setRotateRight) + { + } + + public void SwitchRotationOnInterval(bool setRotateRight) + { + } + + [ClientRpc] + public void SwitchTargetedPlayerClientRpc(int playerId, bool setModeToCharging = false) + { + } + + [ClientRpc] + public void RemoveTargetedPlayerClientRpc() + { + } + + [ClientRpc] + public void SetToModeClientRpc(int mode) + { + } + + private void SwitchTurretMode(int mode) + { + } + + public void ToggleTurretEnabled(bool enabled) + { + } + + [ServerRpc(RequireOwnership = false)] + public void ToggleTurretServerRpc(bool enabled) + { + } + + [ClientRpc] + public void ToggleTurretClientRpc(bool enabled) + { + } + + private void ToggleTurretEnabledLocalClient(bool enabled) + { + } + + void IHittable.Hit(int force, Vector3 hitDirection, PlayerControllerB playerWhoHit, bool playHitSFX) + { + } + + [ServerRpc(RequireOwnership = false)] + public void EnterBerserkModeServerRpc(int playerWhoTriggered) + { + } + + [ClientRpc] + public void EnterBerserkModeClientRpc(int playerWhoTriggered) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/Turret.cs.meta b/Assets/Scripts/Assembly-CSharp/Turret.cs.meta new file mode 100644 index 0000000..3a1b1f3 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Turret.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: cb31b43a374a93ca6ba1acfb4a89226f +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/TurretMode.cs b/Assets/Scripts/Assembly-CSharp/TurretMode.cs new file mode 100644 index 0000000..c96a800 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TurretMode.cs @@ -0,0 +1,7 @@ +public enum TurretMode +{ + Detection = 0, + Charging = 1, + Firing = 2, + Berserk = 3 +} diff --git a/Assets/Scripts/Assembly-CSharp/TurretMode.cs.meta b/Assets/Scripts/Assembly-CSharp/TurretMode.cs.meta new file mode 100644 index 0000000..a214e27 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/TurretMode.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1a1bf1b3493d22f4391b21c069c303da +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/UnlockableItem.cs b/Assets/Scripts/Assembly-CSharp/UnlockableItem.cs new file mode 100644 index 0000000..a4acc35 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/UnlockableItem.cs @@ -0,0 +1,44 @@ +using System; +using UnityEngine; + +[Serializable] +public class UnlockableItem +{ + public string unlockableName; + + public GameObject prefabObject; + + public int unlockableType; + + [Space(5f)] + public TerminalNode shopSelectionNode; + + public bool alwaysInStock; + + [Space(3f)] + public bool IsPlaceable; + + [Space(3f)] + public bool hasBeenMoved; + + public Vector3 placedPosition; + + public Vector3 placedRotation; + + [Space(3f)] + public bool inStorage; + + public bool canBeStored; + + public int maxNumber; + + [Space(3f)] + public bool hasBeenUnlockedByPlayer; + + [Space(5f)] + public Material suitMaterial; + + public bool alreadyUnlocked; + + public bool spawnPrefab; +} diff --git a/Assets/Scripts/Assembly-CSharp/UnlockableItem.cs.meta b/Assets/Scripts/Assembly-CSharp/UnlockableItem.cs.meta new file mode 100644 index 0000000..c754552 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/UnlockableItem.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: eb558dd157e01cf4dafaaee283113353 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/UnlockableSuit.cs b/Assets/Scripts/Assembly-CSharp/UnlockableSuit.cs new file mode 100644 index 0000000..a188811 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/UnlockableSuit.cs @@ -0,0 +1,36 @@ +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class UnlockableSuit : NetworkBehaviour +{ + public NetworkVariable syncedSuitID; + + public int suitID; + + public Material suitMaterial; + + public SkinnedMeshRenderer suitRenderer; + + private void Update() + { + } + + public void SwitchSuitToThis(PlayerControllerB playerWhoTriggered = null) + { + } + + [ServerRpc(RequireOwnership = false)] + public void SwitchSuitServerRpc(int playerID) + { + } + + [ClientRpc] + public void SwitchSuitClientRpc(int playerID) + { + } + + public static void SwitchSuitForPlayer(PlayerControllerB player, int suitID, bool playAudio = true) + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/UnlockableSuit.cs.meta b/Assets/Scripts/Assembly-CSharp/UnlockableSuit.cs.meta new file mode 100644 index 0000000..cce1c40 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/UnlockableSuit.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 0477f7d1aaa8524c317528f5aed701ca +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/UnlockablesList.cs b/Assets/Scripts/Assembly-CSharp/UnlockablesList.cs new file mode 100644 index 0000000..8f0cf9f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/UnlockablesList.cs @@ -0,0 +1,8 @@ +using System.Collections.Generic; +using UnityEngine; + +[CreateAssetMenu(menuName = "ScriptableObjects/Unlockables", order = 2)] +public class UnlockablesList : ScriptableObject +{ + public List unlockables; +} diff --git a/Assets/Scripts/Assembly-CSharp/UnlockablesList.cs.meta b/Assets/Scripts/Assembly-CSharp/UnlockablesList.cs.meta new file mode 100644 index 0000000..4b55236 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/UnlockablesList.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: fb5890291368e4720f01896e9c2e556e +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/WalkieTalkie.cs b/Assets/Scripts/Assembly-CSharp/WalkieTalkie.cs new file mode 100644 index 0000000..79e4504 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/WalkieTalkie.cs @@ -0,0 +1,247 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Diagnostics; +using System.Runtime.CompilerServices; +using GameNetcodeStuff; +using Unity.Netcode; +using UnityEngine; + +public class WalkieTalkie : GrabbableObject +{ + [CompilerGenerated] + private sealed class _003CspeakingIntoWalkieTalkieMode_003Ed__42 : IEnumerator, IEnumerator, IDisposable + { + private int _003C_003E1__state; + + private object _003C_003E2__current; + + public WalkieTalkie _003C_003E4__this; + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + object IEnumerator.Current + { + [DebuggerHidden] + get + { + return null; + } + } + + [DebuggerHidden] + public _003CspeakingIntoWalkieTalkieMode_003Ed__42(int _003C_003E1__state) + { + } + + [DebuggerHidden] + void IDisposable.Dispose() + { + } + + private bool MoveNext() + { + return false; + } + + bool IEnumerator.MoveNext() + { + //ILSpy generated this explicit interface implementation from .override directive in MoveNext + return this.MoveNext(); + } + + [DebuggerHidden] + void IEnumerator.Reset() + { + } + } + + public PlayerControllerB playerListeningTo; + + public AudioSource thisAudio; + + private PlayerControllerB previousPlayerHeldBy; + + public bool isHoldingButton; + + public bool speakingIntoWalkieTalkie; + + public bool clientIsHoldingAndSpeakingIntoThis; + + public bool otherClientIsTransmittingAudios; + + private Coroutine speakIntoWalkieTalkieCoroutine; + + public AudioClip[] stopTransmissionSFX; + + public AudioClip[] startTransmissionSFX; + + public AudioClip switchWalkieTalkiePowerOff; + + public AudioClip switchWalkieTalkiePowerOn; + + public AudioClip talkingOnWalkieTalkieNotHeldSFX; + + public AudioClip playerDieOnWalkieTalkieSFX; + + public static List allWalkieTalkies; + + public bool playingGarbledVoice; + + public Material onMaterial; + + public Material offMaterial; + + public Light walkieTalkieLight; + + public AudioSource target; + + [SerializeField] + private float recordingRange; + + [SerializeField] + private float maxVolume; + + private List audioSourcesToReplay; + + private Dictionary audioSourcesReceiving; + + public Collider listenCollider; + + private int audioSourcesToReplayLastFrameCount; + + public Collider[] collidersInRange; + + public List talkiesSendingToThis; + + private float cleanUpInterval; + + private float updateInterval; + + private void OnDisable() + { + } + + private void OnEnable() + { + } + + public void SetLocalClientSpeaking(bool speaking) + { + } + + [ServerRpc] + public void SetPlayerSpeakingOnWalkieTalkieServerRpc(int playerId) + { + } + + [ClientRpc] + public void SetPlayerSpeakingOnWalkieTalkieClientRpc(int playerId) + { + } + + [ServerRpc] + public void UnsetPlayerSpeakingOnWalkieTalkieServerRpc(int playerId) + { + } + + [ClientRpc] + public void UnsetPlayerSpeakingOnWalkieTalkieClientRpc(int playerId) + { + } + + private void SendWalkieTalkieEndTransmissionSFX(int playerId) + { + } + + private void SendWalkieTalkieStartTransmissionSFX(int playerId) + { + } + + private void BroadcastSFXFromWalkieTalkie(AudioClip sfx, int fromPlayerId) + { + } + + private bool PlayerIsHoldingAnotherWalkieTalkie(WalkieTalkie walkieTalkie) + { + return false; + } + + public override void ItemActivate(bool used, bool buttonDown = true) + { + } + + [IteratorStateMachine(typeof(_003CspeakingIntoWalkieTalkieMode_003Ed__42))] + private IEnumerator speakingIntoWalkieTalkieMode() + { + return null; + } + + private void PlayerHoldingWalkieTalkieButton(bool speaking) + { + } + + public void EnableWalkieTalkieListening(bool enable) + { + } + + public override void UseUpBatteries() + { + } + + public override void PocketItem() + { + } + + public override void ItemInteractLeftRight(bool right) + { + } + + public void SwitchWalkieTalkieOn(bool on) + { + } + + public override void EquipItem() + { + } + + public override void DiscardItem() + { + } + + private bool IsPlayerSpectatedOrLocal() + { + return false; + } + + public override void Start() + { + } + + public override void Update() + { + } + + private void TimeAllAudioSources() + { + } + + public static void TransmitOneShotAudio(AudioSource audioSource, AudioClip clip, float vol = 1f) + { + } + + private void SetupAudiosourceClip() + { + } + + private void GetAllAudioSourcesToReplay() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/WalkieTalkie.cs.meta b/Assets/Scripts/Assembly-CSharp/WalkieTalkie.cs.meta new file mode 100644 index 0000000..9535250 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/WalkieTalkie.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 04c03a810d3f2927f216ac453a7c6769 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/WeatherEffect.cs b/Assets/Scripts/Assembly-CSharp/WeatherEffect.cs new file mode 100644 index 0000000..eaf6083 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/WeatherEffect.cs @@ -0,0 +1,21 @@ +using System; +using UnityEngine; + +[Serializable] +public class WeatherEffect +{ + public string name; + + public GameObject effectObject; + + public GameObject effectPermanentObject; + + public bool lerpPosition; + + public bool effectEnabled; + + public string sunAnimatorBool; + + [HideInInspector] + public bool transitioning; +} diff --git a/Assets/Scripts/Assembly-CSharp/WeatherEffect.cs.meta b/Assets/Scripts/Assembly-CSharp/WeatherEffect.cs.meta new file mode 100644 index 0000000..148ac8d --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/WeatherEffect.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 981a6989c53072c41b05bae7db3ef49e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Zeekerss.meta b/Assets/Scripts/Assembly-CSharp/Zeekerss.meta new file mode 100644 index 0000000..5215ce5 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Zeekerss.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 1a27171ea17975b4993b076ae4b2b87c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Zeekerss/Core.meta b/Assets/Scripts/Assembly-CSharp/Zeekerss/Core.meta new file mode 100644 index 0000000..58a1c5f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Zeekerss/Core.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e3dab81b3128ed8479054e2ec351f6c0 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Zeekerss/Core/Singletons.meta b/Assets/Scripts/Assembly-CSharp/Zeekerss/Core/Singletons.meta new file mode 100644 index 0000000..3d7c103 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Zeekerss/Core/Singletons.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6b3491f6ab0f88b4f8b212321d14a9a0 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/Zeekerss/Core/Singletons/Singleton.cs b/Assets/Scripts/Assembly-CSharp/Zeekerss/Core/Singletons/Singleton.cs new file mode 100644 index 0000000..8bb76c4 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Zeekerss/Core/Singletons/Singleton.cs @@ -0,0 +1,11 @@ +using UnityEngine; + +namespace Zeekerss.Core.Singletons +{ + public class Singleton : MonoBehaviour where T : Component + { + private static T _instance; + + public static T Instance => null; + } +} diff --git a/Assets/Scripts/Assembly-CSharp/Zeekerss/Core/Singletons/Singleton.cs.meta b/Assets/Scripts/Assembly-CSharp/Zeekerss/Core/Singletons/Singleton.cs.meta new file mode 100644 index 0000000..9850ec2 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/Zeekerss/Core/Singletons/Singleton.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8dbed932a1d13a34ca422d693e9dbe0f +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/__GEN.meta b/Assets/Scripts/Assembly-CSharp/__GEN.meta new file mode 100644 index 0000000..5e6915f --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/__GEN.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4c6c3926cf8d3734db9c622798e03705 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/__GEN/NetworkVariableSerializationHelper.cs b/Assets/Scripts/Assembly-CSharp/__GEN/NetworkVariableSerializationHelper.cs new file mode 100644 index 0000000..fa5a56e --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/__GEN/NetworkVariableSerializationHelper.cs @@ -0,0 +1,12 @@ +using UnityEngine; + +namespace __GEN +{ + internal class NetworkVariableSerializationHelper + { + + internal static void InitializeSerialization() + { + } + } +} diff --git a/Assets/Scripts/Assembly-CSharp/__GEN/NetworkVariableSerializationHelper.cs.meta b/Assets/Scripts/Assembly-CSharp/__GEN/NetworkVariableSerializationHelper.cs.meta new file mode 100644 index 0000000..529c8b8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/__GEN/NetworkVariableSerializationHelper.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: aceba74c127be6b4a89407f5c487497d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/animatedSun.cs b/Assets/Scripts/Assembly-CSharp/animatedSun.cs new file mode 100644 index 0000000..aedbbc0 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/animatedSun.cs @@ -0,0 +1,16 @@ +using UnityEngine; + +public class animatedSun : MonoBehaviour +{ + public Light indirectLight; + + public Light directLight; + + private void Start() + { + } + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/animatedSun.cs.meta b/Assets/Scripts/Assembly-CSharp/animatedSun.cs.meta new file mode 100644 index 0000000..f2cb7b8 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/animatedSun.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: d76bf87743285f3d47d57d0b2cd1ba5c +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/facePlayerOnAxis.cs b/Assets/Scripts/Assembly-CSharp/facePlayerOnAxis.cs new file mode 100644 index 0000000..bde72ec --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/facePlayerOnAxis.cs @@ -0,0 +1,14 @@ +using UnityEngine; + +public class facePlayerOnAxis : MonoBehaviour +{ + private Transform playerCamera; + + public Transform turnAxis; + + private bool gotPlayer; + + private void Update() + { + } +} diff --git a/Assets/Scripts/Assembly-CSharp/facePlayerOnAxis.cs.meta b/Assets/Scripts/Assembly-CSharp/facePlayerOnAxis.cs.meta new file mode 100644 index 0000000..605c007 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/facePlayerOnAxis.cs.meta @@ -0,0 +1,13 @@ +fileFormatVersion: 2 +guid: 49cf2e14c1212f6c6bd5f6ac616156d3 +timeCreated: 1700520299 +licenseType: Free +MonoImporter: + serializedVersion: 2 + externalObjects: {} + defaultReferences: [] + executionOrder: 0 + icon: {fileID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Assembly-CSharp/switchToAudio.cs b/Assets/Scripts/Assembly-CSharp/switchToAudio.cs new file mode 100644 index 0000000..78dbc59 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/switchToAudio.cs @@ -0,0 +1,16 @@ +using System; +using UnityEngine; + +[Serializable] +public class switchToAudio +{ + public AudioSource audio; + + public AudioClip changeToClip; + + public bool stopAudio; + + public bool changeAudioVolume; + + public float audioVolume; +} diff --git a/Assets/Scripts/Assembly-CSharp/switchToAudio.cs.meta b/Assets/Scripts/Assembly-CSharp/switchToAudio.cs.meta new file mode 100644 index 0000000..5d76b18 --- /dev/null +++ b/Assets/Scripts/Assembly-CSharp/switchToAudio.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 1adc51eeaa130f1408abb8f3927da8b3 +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Settings.meta b/Assets/Settings.meta new file mode 100644 index 0000000..5704eb7 --- /dev/null +++ b/Assets/Settings.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b912c280ff3334ce98f15a14956a3e5c +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Settings/HDRP Balanced.asset b/Assets/Settings/HDRP Balanced.asset new file mode 100644 index 0000000..a63a3b9 --- /dev/null +++ b/Assets/Settings/HDRP Balanced.asset @@ -0,0 +1,497 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cf1dab834d4ec34195b920ea7bbf9ec, type: 3} + m_Name: HDRP Balanced + m_EditorClassIdentifier: + m_RenderPipelineSettings: + supportShadowMask: 0 + supportSSR: 0 + supportSSRTransparent: 0 + supportSSAO: 1 + supportSSGI: 0 + supportSubsurfaceScattering: 1 + sssSampleBudget: + m_Values: 140000002800000050000000 + m_SchemaId: + m_Id: With3Levels + supportVolumetrics: 1 + supportVolumetricClouds: 0 + supportLightLayers: 1 + supportWater: 0 + waterSimulationResolution: 128 + waterCPUSimulation: 0 + supportDistortion: 1 + supportTransparentBackface: 1 + supportTransparentDepthPrepass: 1 + supportTransparentDepthPostpass: 1 + colorBufferFormat: 74 + supportCustomPass: 1 + customBufferFormat: 12 + supportedLitShaderMode: 2 + planarReflectionResolution: + m_Values: 000100000004000000040000 + m_SchemaId: + m_Id: With3Levels + cubeReflectionResolution: + m_Values: 000100000002000000040000 + m_SchemaId: + m_Id: With3Levels + supportDecals: 1 + supportDecalLayers: 0 + supportSurfaceGradient: 0 + decalNormalBufferHP: 0 + msaaSampleCount: 1 + supportMotionVectors: 1 + supportRuntimeAOVAPI: 0 + supportDitheringCrossFade: 1 + supportTerrainHole: 0 + lightProbeSystem: 0 + probeVolumeMemoryBudget: 1024 + probeVolumeBlendingMemoryBudget: 128 + supportProbeVolumeStreaming: 0 + probeVolumeSHBands: 1 + supportRayTracing: 0 + supportedRayTracingMode: 3 + lightLoopSettings: + cookieAtlasSize: 512 + cookieFormat: 74 + cookieAtlasLastValidMip: 0 + cookieTexArraySize: 16 + planarReflectionAtlasSize: 1024 + reflectionProbeCacheSize: 32 + reflectionCubemapSize: 256 + maxEnvLightsOnScreen: 32 + reflectionCacheCompressed: 1 + reflectionProbeFormat: 74 + reflectionProbeTexCacheSize: 4096 + reflectionProbeTexLastValidCubeMip: 3 + reflectionProbeTexLastValidPlanarMip: 0 + reflectionProbeDecreaseResToFit: 1 + skyReflectionSize: 512 + skyLightingOverrideLayerMask: + serializedVersion: 2 + m_Bits: 0 + supportFabricConvolution: 0 + maxDirectionalLightsOnScreen: 16 + maxPunctualLightsOnScreen: 512 + maxAreaLightsOnScreen: 64 + maxCubeReflectionOnScreen: 32 + maxPlanarReflectionOnScreen: 16 + maxDecalsOnScreen: 512 + maxLightsPerClusterCell: 16 + maxLocalVolumetricFogSize: 32 + maxLocalVolumetricFogOnScreen: 64 + hdShadowInitParams: + maxShadowRequests: 128 + directionalShadowsDepthBits: 16 + shadowFilteringQuality: 1 + areaShadowFilteringQuality: 0 + punctualLightShadowAtlas: + shadowAtlasResolution: 4096 + shadowAtlasDepthBits: 16 + useDynamicViewportRescale: 1 + areaLightShadowAtlas: + shadowAtlasResolution: 2048 + shadowAtlasDepthBits: 16 + useDynamicViewportRescale: 0 + cachedPunctualLightShadowAtlas: 2048 + cachedAreaLightShadowAtlas: 2048 + allowDirectionalMixedCachedShadows: 0 + shadowResolutionDirectional: + m_Values: 00010000000200000004000000080000 + m_SchemaId: + m_Id: With4Levels + shadowResolutionPunctual: + m_Values: 00010000000200000004000000080000 + m_SchemaId: + m_Id: With4Levels + shadowResolutionArea: + m_Values: 00010000000200000004000000080000 + m_SchemaId: + m_Id: With4Levels + maxDirectionalShadowMapResolution: 2048 + maxPunctualShadowMapResolution: 2048 + maxAreaShadowMapResolution: 2048 + supportScreenSpaceShadows: 0 + maxScreenSpaceShadowSlots: 4 + screenSpaceShadowBufferFormat: 48 + decalSettings: + drawDistance: 1000 + atlasWidth: 2048 + atlasHeight: 2048 + perChannelMask: 1 + postProcessSettings: + m_LutSize: 32 + lutFormat: 48 + bufferFormat: 74 + dynamicResolutionSettings: + enabled: 0 + useMipBias: 0 + enableDLSS: 0 + DLSSPerfQualitySetting: 0 + DLSSInjectionPoint: 0 + DLSSUseOptimalSettings: 0 + DLSSSharpness: 0 + fsrOverrideSharpness: 0 + fsrSharpness: 0.92 + maxPercentage: 100 + minPercentage: 100 + dynResType: 1 + upsampleFilter: 1 + forceResolution: 0 + forcedPercentage: 100 + lowResTransparencyMinimumThreshold: 0 + rayTracingHalfResThreshold: 50 + lowresTransparentSettings: + enabled: 1 + checkerboardDepthBuffer: 1 + upsampleType: 1 + xrSettings: + singlePass: 1 + occlusionMesh: 1 + cameraJitter: 0 + allowMotionBlur: 0 + postProcessQualitySettings: + NearBlurSampleCount: 030000000400000005000000 + NearBlurMaxRadius: + - 2 + - 3 + - 4 + FarBlurSampleCount: 040000000500000007000000 + FarBlurMaxRadius: + - 5 + - 6 + - 8 + DoFResolution: 040000000200000002000000 + DoFHighQualityFiltering: 000001 + DoFPhysicallyBased: 000000 + LimitManualRangeNearBlur: 000000 + MotionBlurSampleCount: 04000000080000000c000000 + BloomRes: 040000000200000002000000 + BloomHighQualityFiltering: 000101 + BloomHighQualityPrefiltering: 000001 + ChromaticAberrationMaxSamples: 03000000060000000c000000 + lightSettings: + useContactShadow: + m_Values: 000101 + m_SchemaId: + m_Id: + maximumLODLevel: + m_Values: 000000000000000000000000 + m_SchemaId: + m_Id: With3Levels + lodBias: + m_Values: + - 1 + - 1 + - 1 + m_SchemaId: + m_Id: With3Levels + lightingQualitySettings: + AOStepCount: 040000000600000006000000 + AOFullRes: 000000 + AOMaximumRadiusPixels: 200000002000000028000000 + AOBilateralUpsample: 000001 + AODirectionCount: 010000000200000002000000 + ContactShadowSampleCount: 04000000080000000c000000 + SSRMaxRaySteps: 0c0000001800000030000000 + SSGIRaySteps: 200000004000000080000000 + SSGIDenoise: 010101 + SSGIHalfResDenoise: 010000 + SSGIDenoiserRadius: + - 0.75 + - 0.5 + - 0.5 + SSGISecondDenoise: 010101 + RTAORayLength: + - 0.5 + - 3 + - 20 + RTAOSampleCount: 010000000200000008000000 + RTAODenoise: 010101 + RTAODenoiserRadius: + - 0.25 + - 0.5 + - 0.65 + RTGIRayLength: + - 50 + - 50 + - 50 + RTGIFullResolution: 000001 + RTGIClampValue: + - 0.5 + - 0.8 + - 1.5 + RTGIRaySteps: 200000003000000040000000 + RTGIDenoise: 010101 + RTGIHalfResDenoise: 010000 + RTGIDenoiserRadius: + - 0.66 + - 0.66 + - 1 + RTGISecondDenoise: 010101 + RTRMinSmoothness: + - 0.6 + - 0.4 + - 0 + RTRSmoothnessFadeStart: + - 0.7 + - 0.5 + - 0 + RTRRayLength: + - 50 + - 50 + - 50 + RTRClampValue: + - 0.8 + - 1 + - 1.2 + RTRFullResolution: 000001 + RTRRayMaxIterations: 200000003000000040000000 + RTRDenoise: 010101 + RTRDenoiserRadius: 080000000c00000010000000 + RTRSmoothDenoising: 010000 + Fog_ControlMode: 000000000000000000000000 + Fog_Budget: + - 0.166 + - 0.333 + - 0.666 + Fog_DepthRatio: + - 0.5 + - 0.5 + - 0.5 + m_ObsoleteLightLayerName0: Light LayerDefault + m_ObsoleteLightLayerName1: InteriorOnly + m_ObsoleteLightLayerName2: ExteriorOnly + m_ObsoleteLightLayerName3: LampsOnly + m_ObsoleteLightLayerName4: ReflectionsOnly + m_ObsoleteLightLayerName5: Light Layer 5 + m_ObsoleteLightLayerName6: Light Layer 6 + m_ObsoleteLightLayerName7: Light Layer 7 + m_ObsoleteDecalLayerName0: Decal Layer default + m_ObsoleteDecalLayerName1: Decal Layer 1 + m_ObsoleteDecalLayerName2: Decal Layer 2 + m_ObsoleteDecalLayerName3: Decal Layer 3 + m_ObsoleteDecalLayerName4: Decal Layer 4 + m_ObsoleteDecalLayerName5: Decal Layer 5 + m_ObsoleteDecalLayerName6: Decal Layer 6 + m_ObsoleteDecalLayerName7: Decal Layer 7 + m_ObsoleteSupportRuntimeDebugDisplay: 0 + allowShaderVariantStripping: 1 + enableSRPBatcher: 1 + availableMaterialQualityLevels: -1 + m_DefaultMaterialQualityLevel: 4 + diffusionProfileSettings: {fileID: 0} + virtualTexturingSettings: + streamingCpuCacheSizeInMegaBytes: 256 + streamingGpuCacheSettings: + - format: 0 + sizeInMegaBytes: 128 + m_UseRenderGraph: 1 + m_Version: 22 + m_ObsoleteFrameSettings: + overrides: 0 + enableShadow: 0 + enableContactShadows: 0 + enableShadowMask: 0 + enableSSR: 0 + enableSSAO: 0 + enableSubsurfaceScattering: 0 + enableTransmission: 0 + enableAtmosphericScattering: 0 + enableVolumetrics: 0 + enableReprojectionForVolumetrics: 0 + enableLightLayers: 0 + enableExposureControl: 1 + diffuseGlobalDimmer: 0 + specularGlobalDimmer: 0 + shaderLitMode: 0 + enableDepthPrepassWithDeferredRendering: 0 + enableTransparentPrepass: 0 + enableMotionVectors: 0 + enableObjectMotionVectors: 0 + enableDecals: 0 + enableRoughRefraction: 0 + enableTransparentPostpass: 0 + enableDistortion: 0 + enablePostprocess: 0 + enableOpaqueObjects: 0 + enableTransparentObjects: 0 + enableRealtimePlanarReflection: 0 + enableMSAA: 0 + enableAsyncCompute: 0 + runLightListAsync: 0 + runSSRAsync: 0 + runSSAOAsync: 0 + runContactShadowsAsync: 0 + runVolumeVoxelizationAsync: 0 + lightLoopSettings: + overrides: 0 + enableDeferredTileAndCluster: 0 + enableComputeLightEvaluation: 0 + enableComputeLightVariants: 0 + enableComputeMaterialVariants: 0 + enableFptlForForwardOpaque: 0 + enableBigTilePrepass: 0 + isFptlEnabled: 0 + m_ObsoleteBakedOrCustomReflectionFrameSettings: + overrides: 0 + enableShadow: 0 + enableContactShadows: 0 + enableShadowMask: 0 + enableSSR: 0 + enableSSAO: 0 + enableSubsurfaceScattering: 0 + enableTransmission: 0 + enableAtmosphericScattering: 0 + enableVolumetrics: 0 + enableReprojectionForVolumetrics: 0 + enableLightLayers: 0 + enableExposureControl: 1 + diffuseGlobalDimmer: 0 + specularGlobalDimmer: 0 + shaderLitMode: 0 + enableDepthPrepassWithDeferredRendering: 0 + enableTransparentPrepass: 0 + enableMotionVectors: 0 + enableObjectMotionVectors: 0 + enableDecals: 0 + enableRoughRefraction: 0 + enableTransparentPostpass: 0 + enableDistortion: 0 + enablePostprocess: 0 + enableOpaqueObjects: 0 + enableTransparentObjects: 0 + enableRealtimePlanarReflection: 0 + enableMSAA: 0 + enableAsyncCompute: 0 + runLightListAsync: 0 + runSSRAsync: 0 + runSSAOAsync: 0 + runContactShadowsAsync: 0 + runVolumeVoxelizationAsync: 0 + lightLoopSettings: + overrides: 0 + enableDeferredTileAndCluster: 0 + enableComputeLightEvaluation: 0 + enableComputeLightVariants: 0 + enableComputeMaterialVariants: 0 + enableFptlForForwardOpaque: 0 + enableBigTilePrepass: 0 + isFptlEnabled: 0 + m_ObsoleteRealtimeReflectionFrameSettings: + overrides: 0 + enableShadow: 0 + enableContactShadows: 0 + enableShadowMask: 0 + enableSSR: 0 + enableSSAO: 0 + enableSubsurfaceScattering: 0 + enableTransmission: 0 + enableAtmosphericScattering: 0 + enableVolumetrics: 0 + enableReprojectionForVolumetrics: 0 + enableLightLayers: 0 + enableExposureControl: 1 + diffuseGlobalDimmer: 0 + specularGlobalDimmer: 0 + shaderLitMode: 0 + enableDepthPrepassWithDeferredRendering: 0 + enableTransparentPrepass: 0 + enableMotionVectors: 0 + enableObjectMotionVectors: 0 + enableDecals: 0 + enableRoughRefraction: 0 + enableTransparentPostpass: 0 + enableDistortion: 0 + enablePostprocess: 0 + enableOpaqueObjects: 0 + enableTransparentObjects: 0 + enableRealtimePlanarReflection: 0 + enableMSAA: 0 + enableAsyncCompute: 0 + runLightListAsync: 0 + runSSRAsync: 0 + runSSAOAsync: 0 + runContactShadowsAsync: 0 + runVolumeVoxelizationAsync: 0 + lightLoopSettings: + overrides: 0 + enableDeferredTileAndCluster: 0 + enableComputeLightEvaluation: 0 + enableComputeLightVariants: 0 + enableComputeMaterialVariants: 0 + enableFptlForForwardOpaque: 0 + enableBigTilePrepass: 0 + isFptlEnabled: 0 + m_ObsoleteDefaultVolumeProfile: {fileID: 0} + m_ObsoleteDefaultLookDevProfile: {fileID: 11400000, guid: 254c4fe87beb7be4fa72e1681edbed02, + type: 2} + m_ObsoleteFrameSettingsMovedToDefaultSettings: + bitDatas: + data1: 140666621263709 + data2: 4539628427610619928 + lodBias: 1 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 20 + msaaMode: 0 + materialQuality: 0 + m_ObsoleteBakedOrCustomReflectionFrameSettingsMovedToDefaultSettings: + bitDatas: + data1: 139742655312669 + data2: 4539628424389459992 + lodBias: 1 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 20 + msaaMode: 0 + materialQuality: 0 + m_ObsoleteRealtimeReflectionFrameSettingsMovedToDefaultSettings: + bitDatas: + data1: 139716617048837 + data2: 4539628424389459992 + lodBias: 1 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 20 + msaaMode: 0 + materialQuality: 0 + m_ObsoleteRenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7, + type: 2} + m_ObsoleteRenderPipelineRayTracingResources: {fileID: 0} + m_ObsoleteBeforeTransparentCustomPostProcesses: [] + m_ObsoleteBeforePostProcessCustomPostProcesses: [] + m_ObsoleteAfterPostProcessCustomPostProcesses: [] + m_ObsoleteBeforeTAACustomPostProcesses: [] + m_ObsoleteShaderVariantLogLevel: 0 + m_ObsoleteLensAttenuation: 0 + m_ObsoleteDiffusionProfileSettingsList: + - {fileID: 0} + - {fileID: 0} + - {fileID: 11400000, guid: 2b7005ba3a4d8474b8cdc34141ad766e, type: 2} + - {fileID: 0} diff --git a/Assets/Settings/HDRP Balanced.asset.meta b/Assets/Settings/HDRP Balanced.asset.meta new file mode 100644 index 0000000..0df13d1 --- /dev/null +++ b/Assets/Settings/HDRP Balanced.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3e2e6bfc59709614ab90c0cd7d755e48 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Settings/HDRP High Fidelity.asset b/Assets/Settings/HDRP High Fidelity.asset new file mode 100644 index 0000000..6c2d7e4 --- /dev/null +++ b/Assets/Settings/HDRP High Fidelity.asset @@ -0,0 +1,495 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cf1dab834d4ec34195b920ea7bbf9ec, type: 3} + m_Name: HDRP High Fidelity + m_EditorClassIdentifier: + m_RenderPipelineSettings: + supportShadowMask: 0 + supportSSR: 0 + supportSSRTransparent: 0 + supportSSAO: 1 + supportSSGI: 1 + supportSubsurfaceScattering: 1 + sssSampleBudget: + m_Values: 140000002800000050000000 + m_SchemaId: + m_Id: With3Levels + supportVolumetrics: 1 + supportVolumetricClouds: 0 + supportLightLayers: 1 + supportWater: 0 + waterSimulationResolution: 128 + waterCPUSimulation: 0 + supportDistortion: 1 + supportTransparentBackface: 1 + supportTransparentDepthPrepass: 1 + supportTransparentDepthPostpass: 1 + colorBufferFormat: 48 + supportCustomPass: 1 + customBufferFormat: 12 + supportedLitShaderMode: 2 + planarReflectionResolution: + m_Values: 000100000004000000080000 + m_SchemaId: + m_Id: With3Levels + cubeReflectionResolution: + m_Values: 000100000002000000040000 + m_SchemaId: + m_Id: With3Levels + supportDecals: 1 + supportDecalLayers: 0 + supportSurfaceGradient: 0 + decalNormalBufferHP: 0 + msaaSampleCount: 1 + supportMotionVectors: 1 + supportRuntimeAOVAPI: 0 + supportDitheringCrossFade: 1 + supportTerrainHole: 0 + lightProbeSystem: 1 + probeVolumeMemoryBudget: 1024 + probeVolumeBlendingMemoryBudget: 128 + supportProbeVolumeStreaming: 0 + probeVolumeSHBands: 1 + supportRayTracing: 0 + supportedRayTracingMode: 3 + lightLoopSettings: + cookieAtlasSize: 512 + cookieFormat: 74 + cookieAtlasLastValidMip: 0 + cookieTexArraySize: 16 + planarReflectionAtlasSize: 2048 + reflectionProbeCacheSize: 32 + reflectionCubemapSize: 256 + maxEnvLightsOnScreen: 32 + reflectionCacheCompressed: 1 + reflectionProbeFormat: 74 + reflectionProbeTexCacheSize: 4096 + reflectionProbeTexLastValidCubeMip: 3 + reflectionProbeTexLastValidPlanarMip: 0 + reflectionProbeDecreaseResToFit: 1 + skyReflectionSize: 1024 + skyLightingOverrideLayerMask: + serializedVersion: 2 + m_Bits: 0 + supportFabricConvolution: 0 + maxDirectionalLightsOnScreen: 16 + maxPunctualLightsOnScreen: 512 + maxAreaLightsOnScreen: 64 + maxCubeReflectionOnScreen: 32 + maxPlanarReflectionOnScreen: 16 + maxDecalsOnScreen: 512 + maxLightsPerClusterCell: 16 + maxLocalVolumetricFogSize: 32 + maxLocalVolumetricFogOnScreen: 64 + hdShadowInitParams: + maxShadowRequests: 128 + directionalShadowsDepthBits: 16 + shadowFilteringQuality: 2 + areaShadowFilteringQuality: 0 + punctualLightShadowAtlas: + shadowAtlasResolution: 4096 + shadowAtlasDepthBits: 16 + useDynamicViewportRescale: 1 + areaLightShadowAtlas: + shadowAtlasResolution: 4096 + shadowAtlasDepthBits: 16 + useDynamicViewportRescale: 0 + cachedPunctualLightShadowAtlas: 4096 + cachedAreaLightShadowAtlas: 4096 + allowDirectionalMixedCachedShadows: 0 + shadowResolutionDirectional: + m_Values: 00020000000400000008000000100000 + m_SchemaId: + m_Id: With4Levels + shadowResolutionPunctual: + m_Values: 00020000000400000008000000100000 + m_SchemaId: + m_Id: With4Levels + shadowResolutionArea: + m_Values: 00020000000400000008000000100000 + m_SchemaId: + m_Id: With4Levels + maxDirectionalShadowMapResolution: 4096 + maxPunctualShadowMapResolution: 4096 + maxAreaShadowMapResolution: 4096 + supportScreenSpaceShadows: 0 + maxScreenSpaceShadowSlots: 4 + screenSpaceShadowBufferFormat: 48 + decalSettings: + drawDistance: 1000 + atlasWidth: 2048 + atlasHeight: 2048 + perChannelMask: 1 + postProcessSettings: + m_LutSize: 32 + lutFormat: 48 + bufferFormat: 74 + dynamicResolutionSettings: + enabled: 0 + useMipBias: 0 + enableDLSS: 0 + DLSSPerfQualitySetting: 0 + DLSSInjectionPoint: 0 + DLSSUseOptimalSettings: 0 + DLSSSharpness: 0 + fsrOverrideSharpness: 0 + fsrSharpness: 0.92 + maxPercentage: 100 + minPercentage: 100 + dynResType: 1 + upsampleFilter: 1 + forceResolution: 0 + forcedPercentage: 100 + lowResTransparencyMinimumThreshold: 0 + rayTracingHalfResThreshold: 50 + lowresTransparentSettings: + enabled: 1 + checkerboardDepthBuffer: 1 + upsampleType: 1 + xrSettings: + singlePass: 1 + occlusionMesh: 1 + cameraJitter: 0 + allowMotionBlur: 0 + postProcessQualitySettings: + NearBlurSampleCount: 030000000500000008000000 + NearBlurMaxRadius: + - 2 + - 4 + - 7 + FarBlurSampleCount: 04000000070000000e000000 + FarBlurMaxRadius: + - 5 + - 8 + - 13 + DoFResolution: 040000000200000001000000 + DoFHighQualityFiltering: 000101 + DoFPhysicallyBased: 000000 + LimitManualRangeNearBlur: 000000 + MotionBlurSampleCount: 04000000080000000c000000 + BloomRes: 040000000200000002000000 + BloomHighQualityFiltering: 000101 + BloomHighQualityPrefiltering: 000001 + ChromaticAberrationMaxSamples: 03000000060000000c000000 + lightSettings: + useContactShadow: + m_Values: 000101 + m_SchemaId: + m_Id: + maximumLODLevel: + m_Values: 000000000000000000000000 + m_SchemaId: + m_Id: With3Levels + lodBias: + m_Values: + - 1 + - 1 + - 1 + m_SchemaId: + m_Id: With3Levels + lightingQualitySettings: + AOStepCount: 040000000600000010000000 + AOFullRes: 000001 + AOMaximumRadiusPixels: 200000002800000050000000 + AOBilateralUpsample: 000101 + AODirectionCount: 010000000200000004000000 + ContactShadowSampleCount: 060000000a00000010000000 + SSRMaxRaySteps: 100000002000000040000000 + SSGIRaySteps: 200000004000000080000000 + SSGIDenoise: 010101 + SSGIHalfResDenoise: 010000 + SSGIDenoiserRadius: + - 0.75 + - 0.5 + - 0.5 + SSGISecondDenoise: 010101 + RTAORayLength: + - 0.5 + - 3 + - 20 + RTAOSampleCount: 010000000200000008000000 + RTAODenoise: 010101 + RTAODenoiserRadius: + - 0.25 + - 0.5 + - 0.65 + RTGIRayLength: + - 50 + - 50 + - 50 + RTGIFullResolution: 000001 + RTGIClampValue: + - 0.5 + - 0.8 + - 1.5 + RTGIRaySteps: 200000003000000040000000 + RTGIDenoise: 010101 + RTGIHalfResDenoise: 010000 + RTGIDenoiserRadius: + - 0.66 + - 0.66 + - 1 + RTGISecondDenoise: 010101 + RTRMinSmoothness: + - 0.6 + - 0.4 + - 0 + RTRSmoothnessFadeStart: + - 0.7 + - 0.5 + - 0 + RTRRayLength: + - 50 + - 50 + - 50 + RTRClampValue: + - 0.8 + - 1 + - 1.2 + RTRFullResolution: 000001 + RTRRayMaxIterations: 200000003000000040000000 + RTRDenoise: 010101 + RTRDenoiserRadius: 080000000c00000010000000 + RTRSmoothDenoising: 010000 + Fog_ControlMode: 000000000000000000000000 + Fog_Budget: + - 0.25 + - 0.5 + - 0.75 + Fog_DepthRatio: + - 0.5 + - 0.5 + - 0.5 + m_ObsoleteLightLayerName0: Light LayerDefault + m_ObsoleteLightLayerName1: InteriorOnly + m_ObsoleteLightLayerName2: ExteriorOnly + m_ObsoleteLightLayerName3: LampsOnly + m_ObsoleteLightLayerName4: Light Layer 4 + m_ObsoleteLightLayerName5: Light Layer 5 + m_ObsoleteLightLayerName6: Light Layer 6 + m_ObsoleteLightLayerName7: Light Layer 7 + m_ObsoleteDecalLayerName0: Decal Layer default + m_ObsoleteDecalLayerName1: Decal Layer 1 + m_ObsoleteDecalLayerName2: Decal Layer 2 + m_ObsoleteDecalLayerName3: Decal Layer 3 + m_ObsoleteDecalLayerName4: Decal Layer 4 + m_ObsoleteDecalLayerName5: Decal Layer 5 + m_ObsoleteDecalLayerName6: Decal Layer 6 + m_ObsoleteDecalLayerName7: Decal Layer 7 + m_ObsoleteSupportRuntimeDebugDisplay: 0 + allowShaderVariantStripping: 1 + enableSRPBatcher: 1 + availableMaterialQualityLevels: -1 + m_DefaultMaterialQualityLevel: 4 + diffusionProfileSettings: {fileID: 0} + virtualTexturingSettings: + streamingCpuCacheSizeInMegaBytes: 256 + streamingGpuCacheSettings: + - format: 0 + sizeInMegaBytes: 128 + m_UseRenderGraph: 1 + m_Version: 22 + m_ObsoleteFrameSettings: + overrides: 0 + enableShadow: 0 + enableContactShadows: 0 + enableShadowMask: 0 + enableSSR: 0 + enableSSAO: 0 + enableSubsurfaceScattering: 0 + enableTransmission: 0 + enableAtmosphericScattering: 0 + enableVolumetrics: 0 + enableReprojectionForVolumetrics: 0 + enableLightLayers: 0 + enableExposureControl: 1 + diffuseGlobalDimmer: 0 + specularGlobalDimmer: 0 + shaderLitMode: 0 + enableDepthPrepassWithDeferredRendering: 0 + enableTransparentPrepass: 0 + enableMotionVectors: 0 + enableObjectMotionVectors: 0 + enableDecals: 0 + enableRoughRefraction: 0 + enableTransparentPostpass: 0 + enableDistortion: 0 + enablePostprocess: 0 + enableOpaqueObjects: 0 + enableTransparentObjects: 0 + enableRealtimePlanarReflection: 0 + enableMSAA: 0 + enableAsyncCompute: 0 + runLightListAsync: 0 + runSSRAsync: 0 + runSSAOAsync: 0 + runContactShadowsAsync: 0 + runVolumeVoxelizationAsync: 0 + lightLoopSettings: + overrides: 0 + enableDeferredTileAndCluster: 0 + enableComputeLightEvaluation: 0 + enableComputeLightVariants: 0 + enableComputeMaterialVariants: 0 + enableFptlForForwardOpaque: 0 + enableBigTilePrepass: 0 + isFptlEnabled: 0 + m_ObsoleteBakedOrCustomReflectionFrameSettings: + overrides: 0 + enableShadow: 0 + enableContactShadows: 0 + enableShadowMask: 0 + enableSSR: 0 + enableSSAO: 0 + enableSubsurfaceScattering: 0 + enableTransmission: 0 + enableAtmosphericScattering: 0 + enableVolumetrics: 0 + enableReprojectionForVolumetrics: 0 + enableLightLayers: 0 + enableExposureControl: 1 + diffuseGlobalDimmer: 0 + specularGlobalDimmer: 0 + shaderLitMode: 0 + enableDepthPrepassWithDeferredRendering: 0 + enableTransparentPrepass: 0 + enableMotionVectors: 0 + enableObjectMotionVectors: 0 + enableDecals: 0 + enableRoughRefraction: 0 + enableTransparentPostpass: 0 + enableDistortion: 0 + enablePostprocess: 0 + enableOpaqueObjects: 0 + enableTransparentObjects: 0 + enableRealtimePlanarReflection: 0 + enableMSAA: 0 + enableAsyncCompute: 0 + runLightListAsync: 0 + runSSRAsync: 0 + runSSAOAsync: 0 + runContactShadowsAsync: 0 + runVolumeVoxelizationAsync: 0 + lightLoopSettings: + overrides: 0 + enableDeferredTileAndCluster: 0 + enableComputeLightEvaluation: 0 + enableComputeLightVariants: 0 + enableComputeMaterialVariants: 0 + enableFptlForForwardOpaque: 0 + enableBigTilePrepass: 0 + isFptlEnabled: 0 + m_ObsoleteRealtimeReflectionFrameSettings: + overrides: 0 + enableShadow: 0 + enableContactShadows: 0 + enableShadowMask: 0 + enableSSR: 0 + enableSSAO: 0 + enableSubsurfaceScattering: 0 + enableTransmission: 0 + enableAtmosphericScattering: 0 + enableVolumetrics: 0 + enableReprojectionForVolumetrics: 0 + enableLightLayers: 0 + enableExposureControl: 1 + diffuseGlobalDimmer: 0 + specularGlobalDimmer: 0 + shaderLitMode: 0 + enableDepthPrepassWithDeferredRendering: 0 + enableTransparentPrepass: 0 + enableMotionVectors: 0 + enableObjectMotionVectors: 0 + enableDecals: 0 + enableRoughRefraction: 0 + enableTransparentPostpass: 0 + enableDistortion: 0 + enablePostprocess: 0 + enableOpaqueObjects: 0 + enableTransparentObjects: 0 + enableRealtimePlanarReflection: 0 + enableMSAA: 0 + enableAsyncCompute: 0 + runLightListAsync: 0 + runSSRAsync: 0 + runSSAOAsync: 0 + runContactShadowsAsync: 0 + runVolumeVoxelizationAsync: 0 + lightLoopSettings: + overrides: 0 + enableDeferredTileAndCluster: 0 + enableComputeLightEvaluation: 0 + enableComputeLightVariants: 0 + enableComputeMaterialVariants: 0 + enableFptlForForwardOpaque: 0 + enableBigTilePrepass: 0 + isFptlEnabled: 0 + m_ObsoleteDefaultVolumeProfile: {fileID: 0} + m_ObsoleteDefaultLookDevProfile: {fileID: 11400000, guid: 254c4fe87beb7be4fa72e1681edbed02, + type: 2} + m_ObsoleteFrameSettingsMovedToDefaultSettings: + bitDatas: + data1: 140666621394781 + data2: 4539628425463136280 + lodBias: 1 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 20 + msaaMode: 0 + materialQuality: 0 + m_ObsoleteBakedOrCustomReflectionFrameSettingsMovedToDefaultSettings: + bitDatas: + data1: 139742655312669 + data2: 4539628424389459992 + lodBias: 1 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 20 + msaaMode: 0 + materialQuality: 0 + m_ObsoleteRealtimeReflectionFrameSettingsMovedToDefaultSettings: + bitDatas: + data1: 139991494955789 + data2: 4539628424389459992 + lodBias: 1 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 20 + msaaMode: 0 + materialQuality: 0 + m_ObsoleteRenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7, + type: 2} + m_ObsoleteRenderPipelineRayTracingResources: {fileID: 0} + m_ObsoleteBeforeTransparentCustomPostProcesses: [] + m_ObsoleteBeforePostProcessCustomPostProcesses: [] + m_ObsoleteAfterPostProcessCustomPostProcesses: [] + m_ObsoleteBeforeTAACustomPostProcesses: [] + m_ObsoleteShaderVariantLogLevel: 0 + m_ObsoleteLensAttenuation: 0 + m_ObsoleteDiffusionProfileSettingsList: + - {fileID: 0} + - {fileID: 0} diff --git a/Assets/Settings/HDRP High Fidelity.asset.meta b/Assets/Settings/HDRP High Fidelity.asset.meta new file mode 100644 index 0000000..556a763 --- /dev/null +++ b/Assets/Settings/HDRP High Fidelity.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 36dd385e759c96147b6463dcd1149c11 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Settings/HDRP Performant.asset b/Assets/Settings/HDRP Performant.asset new file mode 100644 index 0000000..03396fe --- /dev/null +++ b/Assets/Settings/HDRP Performant.asset @@ -0,0 +1,496 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cf1dab834d4ec34195b920ea7bbf9ec, type: 3} + m_Name: HDRP Performant + m_EditorClassIdentifier: + m_RenderPipelineSettings: + supportShadowMask: 0 + supportSSR: 0 + supportSSRTransparent: 0 + supportSSAO: 1 + supportSSGI: 0 + supportSubsurfaceScattering: 1 + sssSampleBudget: + m_Values: 140000002800000050000000 + m_SchemaId: + m_Id: With3Levels + supportVolumetrics: 0 + supportVolumetricClouds: 0 + supportLightLayers: 1 + supportWater: 0 + waterSimulationResolution: 128 + waterCPUSimulation: 0 + supportDistortion: 1 + supportTransparentBackface: 1 + supportTransparentDepthPrepass: 1 + supportTransparentDepthPostpass: 1 + colorBufferFormat: 74 + supportCustomPass: 1 + customBufferFormat: 12 + supportedLitShaderMode: 2 + planarReflectionResolution: + m_Values: 000100000002000000020000 + m_SchemaId: + m_Id: With3Levels + cubeReflectionResolution: + m_Values: 000100000002000000040000 + m_SchemaId: + m_Id: With3Levels + supportDecals: 1 + supportDecalLayers: 0 + supportSurfaceGradient: 0 + decalNormalBufferHP: 0 + msaaSampleCount: 1 + supportMotionVectors: 1 + supportRuntimeAOVAPI: 0 + supportDitheringCrossFade: 1 + supportTerrainHole: 0 + lightProbeSystem: 0 + probeVolumeMemoryBudget: 1024 + probeVolumeBlendingMemoryBudget: 128 + supportProbeVolumeStreaming: 0 + probeVolumeSHBands: 1 + supportRayTracing: 0 + supportedRayTracingMode: 3 + lightLoopSettings: + cookieAtlasSize: 512 + cookieFormat: 74 + cookieAtlasLastValidMip: 0 + cookieTexArraySize: 16 + planarReflectionAtlasSize: 512 + reflectionProbeCacheSize: 32 + reflectionCubemapSize: 256 + maxEnvLightsOnScreen: 32 + reflectionCacheCompressed: 1 + reflectionProbeFormat: 74 + reflectionProbeTexCacheSize: 4096 + reflectionProbeTexLastValidCubeMip: 3 + reflectionProbeTexLastValidPlanarMip: 0 + reflectionProbeDecreaseResToFit: 1 + skyReflectionSize: 256 + skyLightingOverrideLayerMask: + serializedVersion: 2 + m_Bits: 0 + supportFabricConvolution: 0 + maxDirectionalLightsOnScreen: 16 + maxPunctualLightsOnScreen: 512 + maxAreaLightsOnScreen: 64 + maxCubeReflectionOnScreen: 32 + maxPlanarReflectionOnScreen: 16 + maxDecalsOnScreen: 512 + maxLightsPerClusterCell: 16 + maxLocalVolumetricFogSize: 32 + maxLocalVolumetricFogOnScreen: 64 + hdShadowInitParams: + maxShadowRequests: 128 + directionalShadowsDepthBits: 16 + shadowFilteringQuality: 1 + areaShadowFilteringQuality: 0 + punctualLightShadowAtlas: + shadowAtlasResolution: 4096 + shadowAtlasDepthBits: 16 + useDynamicViewportRescale: 1 + areaLightShadowAtlas: + shadowAtlasResolution: 2048 + shadowAtlasDepthBits: 16 + useDynamicViewportRescale: 0 + cachedPunctualLightShadowAtlas: 2048 + cachedAreaLightShadowAtlas: 2048 + allowDirectionalMixedCachedShadows: 0 + shadowResolutionDirectional: + m_Values: 80000000000100000002000000040000 + m_SchemaId: + m_Id: With4Levels + shadowResolutionPunctual: + m_Values: 00010000000200000004000000080000 + m_SchemaId: + m_Id: With4Levels + shadowResolutionArea: + m_Values: 00010000000200000004000000080000 + m_SchemaId: + m_Id: With4Levels + maxDirectionalShadowMapResolution: 1024 + maxPunctualShadowMapResolution: 2048 + maxAreaShadowMapResolution: 2048 + supportScreenSpaceShadows: 0 + maxScreenSpaceShadowSlots: 4 + screenSpaceShadowBufferFormat: 48 + decalSettings: + drawDistance: 1000 + atlasWidth: 2048 + atlasHeight: 2048 + perChannelMask: 1 + postProcessSettings: + m_LutSize: 32 + lutFormat: 48 + bufferFormat: 74 + dynamicResolutionSettings: + enabled: 0 + useMipBias: 0 + enableDLSS: 0 + DLSSPerfQualitySetting: 0 + DLSSInjectionPoint: 0 + DLSSUseOptimalSettings: 0 + DLSSSharpness: 0 + fsrOverrideSharpness: 0 + fsrSharpness: 0.92 + maxPercentage: 100 + minPercentage: 100 + dynResType: 1 + upsampleFilter: 1 + forceResolution: 0 + forcedPercentage: 100 + lowResTransparencyMinimumThreshold: 0 + rayTracingHalfResThreshold: 50 + lowresTransparentSettings: + enabled: 1 + checkerboardDepthBuffer: 1 + upsampleType: 1 + xrSettings: + singlePass: 1 + occlusionMesh: 1 + cameraJitter: 0 + allowMotionBlur: 0 + postProcessQualitySettings: + NearBlurSampleCount: 030000000400000004000000 + NearBlurMaxRadius: + - 2 + - 3 + - 3 + FarBlurSampleCount: 040000000500000005000000 + FarBlurMaxRadius: + - 5 + - 6 + - 6 + DoFResolution: 040000000400000002000000 + DoFHighQualityFiltering: 000100 + DoFPhysicallyBased: 000000 + LimitManualRangeNearBlur: 000000 + MotionBlurSampleCount: 04000000080000000c000000 + BloomRes: 040000000200000002000000 + BloomHighQualityFiltering: 000101 + BloomHighQualityPrefiltering: 000001 + ChromaticAberrationMaxSamples: 03000000060000000c000000 + lightSettings: + useContactShadow: + m_Values: 000101 + m_SchemaId: + m_Id: + maximumLODLevel: + m_Values: 000000000000000000000000 + m_SchemaId: + m_Id: With3Levels + lodBias: + m_Values: + - 1 + - 1 + - 1 + m_SchemaId: + m_Id: With3Levels + lightingQualitySettings: + AOStepCount: 030000000400000006000000 + AOFullRes: 000000 + AOMaximumRadiusPixels: 180000002000000020000000 + AOBilateralUpsample: 000000 + AODirectionCount: 010000000100000002000000 + ContactShadowSampleCount: 04000000060000000a000000 + SSRMaxRaySteps: 080000001000000020000000 + SSGIRaySteps: 200000004000000080000000 + SSGIDenoise: 010101 + SSGIHalfResDenoise: 010000 + SSGIDenoiserRadius: + - 0.75 + - 0.5 + - 0.5 + SSGISecondDenoise: 010101 + RTAORayLength: + - 0.5 + - 3 + - 20 + RTAOSampleCount: 010000000200000008000000 + RTAODenoise: 010101 + RTAODenoiserRadius: + - 0.25 + - 0.5 + - 0.65 + RTGIRayLength: + - 50 + - 50 + - 50 + RTGIFullResolution: 000001 + RTGIClampValue: + - 0.5 + - 0.8 + - 1.5 + RTGIRaySteps: 200000003000000040000000 + RTGIDenoise: 010101 + RTGIHalfResDenoise: 010000 + RTGIDenoiserRadius: + - 0.66 + - 0.66 + - 1 + RTGISecondDenoise: 010101 + RTRMinSmoothness: + - 0.6 + - 0.4 + - 0 + RTRSmoothnessFadeStart: + - 0.7 + - 0.5 + - 0 + RTRRayLength: + - 50 + - 50 + - 50 + RTRClampValue: + - 0.8 + - 1 + - 1.2 + RTRFullResolution: 000001 + RTRRayMaxIterations: 200000003000000040000000 + RTRDenoise: 010101 + RTRDenoiserRadius: 080000000c00000010000000 + RTRSmoothDenoising: 010000 + Fog_ControlMode: 000000000000000000000000 + Fog_Budget: + - 0.125 + - 0.25 + - 0.5 + Fog_DepthRatio: + - 0.5 + - 0.5 + - 0.5 + m_ObsoleteLightLayerName0: Light LayerDefault + m_ObsoleteLightLayerName1: InteriorOnly + m_ObsoleteLightLayerName2: ExteriorOnly + m_ObsoleteLightLayerName3: LampsOnly + m_ObsoleteLightLayerName4: ReflectionsOnly + m_ObsoleteLightLayerName5: Light Layer 5 + m_ObsoleteLightLayerName6: Light Layer 6 + m_ObsoleteLightLayerName7: Light Layer 7 + m_ObsoleteDecalLayerName0: Decal Layer default + m_ObsoleteDecalLayerName1: Decal Layer 1 + m_ObsoleteDecalLayerName2: Decal Layer 2 + m_ObsoleteDecalLayerName3: Decal Layer 3 + m_ObsoleteDecalLayerName4: Decal Layer 4 + m_ObsoleteDecalLayerName5: Decal Layer 5 + m_ObsoleteDecalLayerName6: Decal Layer 6 + m_ObsoleteDecalLayerName7: Decal Layer 7 + m_ObsoleteSupportRuntimeDebugDisplay: 0 + allowShaderVariantStripping: 1 + enableSRPBatcher: 1 + availableMaterialQualityLevels: -1 + m_DefaultMaterialQualityLevel: 4 + diffusionProfileSettings: {fileID: 0} + virtualTexturingSettings: + streamingCpuCacheSizeInMegaBytes: 256 + streamingGpuCacheSettings: + - format: 0 + sizeInMegaBytes: 128 + m_UseRenderGraph: 1 + m_Version: 22 + m_ObsoleteFrameSettings: + overrides: 0 + enableShadow: 0 + enableContactShadows: 0 + enableShadowMask: 0 + enableSSR: 0 + enableSSAO: 0 + enableSubsurfaceScattering: 0 + enableTransmission: 0 + enableAtmosphericScattering: 0 + enableVolumetrics: 0 + enableReprojectionForVolumetrics: 0 + enableLightLayers: 0 + enableExposureControl: 1 + diffuseGlobalDimmer: 0 + specularGlobalDimmer: 0 + shaderLitMode: 0 + enableDepthPrepassWithDeferredRendering: 0 + enableTransparentPrepass: 0 + enableMotionVectors: 0 + enableObjectMotionVectors: 0 + enableDecals: 0 + enableRoughRefraction: 0 + enableTransparentPostpass: 0 + enableDistortion: 0 + enablePostprocess: 0 + enableOpaqueObjects: 0 + enableTransparentObjects: 0 + enableRealtimePlanarReflection: 0 + enableMSAA: 0 + enableAsyncCompute: 0 + runLightListAsync: 0 + runSSRAsync: 0 + runSSAOAsync: 0 + runContactShadowsAsync: 0 + runVolumeVoxelizationAsync: 0 + lightLoopSettings: + overrides: 0 + enableDeferredTileAndCluster: 0 + enableComputeLightEvaluation: 0 + enableComputeLightVariants: 0 + enableComputeMaterialVariants: 0 + enableFptlForForwardOpaque: 0 + enableBigTilePrepass: 0 + isFptlEnabled: 0 + m_ObsoleteBakedOrCustomReflectionFrameSettings: + overrides: 0 + enableShadow: 0 + enableContactShadows: 0 + enableShadowMask: 0 + enableSSR: 0 + enableSSAO: 0 + enableSubsurfaceScattering: 0 + enableTransmission: 0 + enableAtmosphericScattering: 0 + enableVolumetrics: 0 + enableReprojectionForVolumetrics: 0 + enableLightLayers: 0 + enableExposureControl: 1 + diffuseGlobalDimmer: 0 + specularGlobalDimmer: 0 + shaderLitMode: 0 + enableDepthPrepassWithDeferredRendering: 0 + enableTransparentPrepass: 0 + enableMotionVectors: 0 + enableObjectMotionVectors: 0 + enableDecals: 0 + enableRoughRefraction: 0 + enableTransparentPostpass: 0 + enableDistortion: 0 + enablePostprocess: 0 + enableOpaqueObjects: 0 + enableTransparentObjects: 0 + enableRealtimePlanarReflection: 0 + enableMSAA: 0 + enableAsyncCompute: 0 + runLightListAsync: 0 + runSSRAsync: 0 + runSSAOAsync: 0 + runContactShadowsAsync: 0 + runVolumeVoxelizationAsync: 0 + lightLoopSettings: + overrides: 0 + enableDeferredTileAndCluster: 0 + enableComputeLightEvaluation: 0 + enableComputeLightVariants: 0 + enableComputeMaterialVariants: 0 + enableFptlForForwardOpaque: 0 + enableBigTilePrepass: 0 + isFptlEnabled: 0 + m_ObsoleteRealtimeReflectionFrameSettings: + overrides: 0 + enableShadow: 0 + enableContactShadows: 0 + enableShadowMask: 0 + enableSSR: 0 + enableSSAO: 0 + enableSubsurfaceScattering: 0 + enableTransmission: 0 + enableAtmosphericScattering: 0 + enableVolumetrics: 0 + enableReprojectionForVolumetrics: 0 + enableLightLayers: 0 + enableExposureControl: 1 + diffuseGlobalDimmer: 0 + specularGlobalDimmer: 0 + shaderLitMode: 0 + enableDepthPrepassWithDeferredRendering: 0 + enableTransparentPrepass: 0 + enableMotionVectors: 0 + enableObjectMotionVectors: 0 + enableDecals: 0 + enableRoughRefraction: 0 + enableTransparentPostpass: 0 + enableDistortion: 0 + enablePostprocess: 0 + enableOpaqueObjects: 0 + enableTransparentObjects: 0 + enableRealtimePlanarReflection: 0 + enableMSAA: 0 + enableAsyncCompute: 0 + runLightListAsync: 0 + runSSRAsync: 0 + runSSAOAsync: 0 + runContactShadowsAsync: 0 + runVolumeVoxelizationAsync: 0 + lightLoopSettings: + overrides: 0 + enableDeferredTileAndCluster: 0 + enableComputeLightEvaluation: 0 + enableComputeLightVariants: 0 + enableComputeMaterialVariants: 0 + enableFptlForForwardOpaque: 0 + enableBigTilePrepass: 0 + isFptlEnabled: 0 + m_ObsoleteDefaultVolumeProfile: {fileID: 0} + m_ObsoleteDefaultLookDevProfile: {fileID: 11400000, guid: 254c4fe87beb7be4fa72e1681edbed02, + type: 2} + m_ObsoleteFrameSettingsMovedToDefaultSettings: + bitDatas: + data1: 140666621394781 + data2: 4539628425463136280 + lodBias: 1 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 20 + msaaMode: 0 + materialQuality: 0 + m_ObsoleteBakedOrCustomReflectionFrameSettingsMovedToDefaultSettings: + bitDatas: + data1: 139742655312669 + data2: 4539628424389459992 + lodBias: 1 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 20 + msaaMode: 0 + materialQuality: 0 + m_ObsoleteRealtimeReflectionFrameSettingsMovedToDefaultSettings: + bitDatas: + data1: 139716617048837 + data2: 4539628424389459992 + lodBias: 1 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 20 + msaaMode: 0 + materialQuality: 0 + m_ObsoleteRenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7, + type: 2} + m_ObsoleteRenderPipelineRayTracingResources: {fileID: 0} + m_ObsoleteBeforeTransparentCustomPostProcesses: [] + m_ObsoleteBeforePostProcessCustomPostProcesses: [] + m_ObsoleteAfterPostProcessCustomPostProcesses: [] + m_ObsoleteBeforeTAACustomPostProcesses: [] + m_ObsoleteShaderVariantLogLevel: 0 + m_ObsoleteLensAttenuation: 0 + m_ObsoleteDiffusionProfileSettingsList: + - {fileID: 0} + - {fileID: 0} + - {fileID: 11400000, guid: 2b7005ba3a4d8474b8cdc34141ad766e, type: 2} diff --git a/Assets/Settings/HDRP Performant.asset.meta b/Assets/Settings/HDRP Performant.asset.meta new file mode 100644 index 0000000..e6f7b1c --- /dev/null +++ b/Assets/Settings/HDRP Performant.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 168a2336534e4e043b2a210b6f8d379a +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Settings/HDRPDefaultResources.meta b/Assets/Settings/HDRPDefaultResources.meta new file mode 100644 index 0000000..bc14cdc --- /dev/null +++ b/Assets/Settings/HDRPDefaultResources.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 181cd982040374fac84aed5329ef5583 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Settings/HDRPDefaultResources/DefaultLookDevProfile.asset b/Assets/Settings/HDRPDefaultResources/DefaultLookDevProfile.asset new file mode 100644 index 0000000..67114ab --- /dev/null +++ b/Assets/Settings/HDRPDefaultResources/DefaultLookDevProfile.asset @@ -0,0 +1,220 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3} + m_Name: DefaultLookDevProfile + m_EditorClassIdentifier: + components: + - {fileID: 8761387877531654226} + - {fileID: 1902828633788537306} + - {fileID: 1880163708194025631} + - {fileID: 2340290907100754200} +--- !u!114 &1880163708194025631 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9008a067f4d626c4d8bc4bc48f04bb89, type: 3} + m_Name: AmbientOcclusion + m_EditorClassIdentifier: + active: 1 + quality: + m_OverrideState: 0 + m_Value: 1 + rayTracing: + m_OverrideState: 0 + m_Value: 0 + intensity: + m_OverrideState: 1 + m_Value: 0.5 + directLightingStrength: + m_OverrideState: 0 + m_Value: 0 + radius: + m_OverrideState: 1 + m_Value: 1 + spatialBilateralAggressiveness: + m_OverrideState: 0 + m_Value: 0.15 + temporalAccumulation: + m_OverrideState: 0 + m_Value: 1 + ghostingReduction: + m_OverrideState: 0 + m_Value: 0.5 + blurSharpness: + m_OverrideState: 0 + m_Value: 0.1 + layerMask: + m_OverrideState: 0 + m_Value: + serializedVersion: 2 + m_Bits: 4294967295 + m_StepCount: + m_OverrideState: 0 + m_Value: 6 + m_FullResolution: + m_OverrideState: 0 + m_Value: 0 + m_MaximumRadiusInPixels: + m_OverrideState: 0 + m_Value: 40 + m_BilateralUpsample: + m_OverrideState: 0 + m_Value: 1 + m_DirectionCount: + m_OverrideState: 0 + m_Value: 2 + m_RayLength: + m_OverrideState: 0 + m_Value: 3 + m_SampleCount: + m_OverrideState: 0 + m_Value: 2 + m_Denoise: + m_OverrideState: 0 + m_Value: 1 + m_DenoiserRadius: + m_OverrideState: 0 + m_Value: 0.5 +--- !u!114 &1902828633788537306 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7ddcec8a8eb2d684d833ac8f5d26aebd, type: 3} + m_Name: HDShadowSettings + m_EditorClassIdentifier: + active: 1 + maxShadowDistance: + m_OverrideState: 1 + m_Value: 25 + directionalTransmissionMultiplier: + m_OverrideState: 0 + m_Value: 1 + cascadeShadowSplitCount: + m_OverrideState: 1 + m_Value: 2 + cascadeShadowSplit0: + m_OverrideState: 0 + m_Value: 0.05 + cascadeShadowSplit1: + m_OverrideState: 0 + m_Value: 0.15 + cascadeShadowSplit2: + m_OverrideState: 0 + m_Value: 0.3 + cascadeShadowBorder0: + m_OverrideState: 0 + m_Value: 0 + cascadeShadowBorder1: + m_OverrideState: 0 + m_Value: 0 + cascadeShadowBorder2: + m_OverrideState: 0 + m_Value: 0 + cascadeShadowBorder3: + m_OverrideState: 0 + m_Value: 0 +--- !u!114 &2340290907100754200 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 24f077503be6ae942a1e1245dbd53ea9, type: 3} + m_Name: Bloom + m_EditorClassIdentifier: + active: 1 + quality: + m_OverrideState: 0 + m_Value: 3 + threshold: + m_OverrideState: 0 + m_Value: 0 + intensity: + m_OverrideState: 1 + m_Value: 0.1 + scatter: + m_OverrideState: 0 + m_Value: 0.7 + tint: + m_OverrideState: 0 + m_Value: {r: 1, g: 1, b: 1, a: 1} + dirtTexture: + m_OverrideState: 0 + m_Value: {fileID: 0} + dirtIntensity: + m_OverrideState: 0 + m_Value: 0 + anamorphic: + m_OverrideState: 0 + m_Value: 1 + m_Resolution: + m_OverrideState: 0 + m_Value: 2 + m_HighQualityPrefiltering: + m_OverrideState: 0 + m_Value: 0 + m_HighQualityFiltering: + m_OverrideState: 0 + m_Value: 1 +--- !u!114 &8761387877531654226 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f086a068d4c5889438831b3ae9afc11c, type: 3} + m_Name: Tonemapping + m_EditorClassIdentifier: + active: 1 + mode: + m_OverrideState: 1 + m_Value: 1 + toeStrength: + m_OverrideState: 0 + m_Value: 0 + toeLength: + m_OverrideState: 0 + m_Value: 0.5 + shoulderStrength: + m_OverrideState: 0 + m_Value: 0 + shoulderLength: + m_OverrideState: 0 + m_Value: 0.5 + shoulderAngle: + m_OverrideState: 0 + m_Value: 0 + gamma: + m_OverrideState: 0 + m_Value: 1 + lutTexture: + m_OverrideState: 0 + m_Value: {fileID: 0} + lutContribution: + m_OverrideState: 0 + m_Value: 1 diff --git a/Assets/Settings/HDRPDefaultResources/DefaultLookDevProfile.asset.meta b/Assets/Settings/HDRPDefaultResources/DefaultLookDevProfile.asset.meta new file mode 100644 index 0000000..d2ffa56 --- /dev/null +++ b/Assets/Settings/HDRPDefaultResources/DefaultLookDevProfile.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4594f4a3fb14247e192bcca6dc23c8ed +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Settings/HDRPDefaultResources/DefaultSettingsVolumeProfile.asset b/Assets/Settings/HDRPDefaultResources/DefaultSettingsVolumeProfile.asset new file mode 100644 index 0000000..27388f6 --- /dev/null +++ b/Assets/Settings/HDRPDefaultResources/DefaultSettingsVolumeProfile.asset @@ -0,0 +1,682 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-8500501345142028434 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7a7ff42a8c5be6646ad3975f3a54c1eb, type: 3} + m_Name: DiffusionProfileList + m_EditorClassIdentifier: + active: 1 + diffusionProfiles: + m_OverrideState: 1 + m_Value: + - {fileID: 11400000, guid: 404820c4cf36ad944862fa59c56064f0, type: 2} + - {fileID: 11400000, guid: 2384dbf2c1c420f45a792fbc315fbfb1, type: 2} + - {fileID: 11400000, guid: 879ffae44eefa4412bb327928f1a96dd, type: 2} +--- !u!114 &-7089757308646879465 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: bcf384b154398e341b6b29969c078198, type: 3} + m_Name: MotionBlur + m_EditorClassIdentifier: + active: 1 + quality: + m_OverrideState: 1 + m_Value: 1 + intensity: + m_OverrideState: 1 + m_Value: 0.5 + maximumVelocity: + m_OverrideState: 0 + m_Value: 200 + minimumVelocity: + m_OverrideState: 0 + m_Value: 2 + cameraMotionBlur: + m_OverrideState: 0 + m_Value: 1 + specialCameraClampMode: + m_OverrideState: 0 + m_Value: 0 + cameraVelocityClamp: + m_OverrideState: 0 + m_Value: 0.05 + cameraTranslationVelocityClamp: + m_OverrideState: 0 + m_Value: 0.05 + cameraRotationVelocityClamp: + m_OverrideState: 0 + m_Value: 0.03 + depthComparisonExtent: + m_OverrideState: 0 + m_Value: 1 + m_SampleCount: + m_OverrideState: 1 + m_Value: 8 +--- !u!114 &-1016694868962581565 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 56b145d2b9ee1ac4f846968484e7485a, type: 3} + m_Name: ContactShadows + m_EditorClassIdentifier: + active: 1 + quality: + m_OverrideState: 0 + m_Value: 1 + enable: + m_OverrideState: 1 + m_Value: 1 + length: + m_OverrideState: 0 + m_Value: 0.15 + opacity: + m_OverrideState: 0 + m_Value: 1 + distanceScaleFactor: + m_OverrideState: 0 + m_Value: 0.5 + maxDistance: + m_OverrideState: 0 + m_Value: 50 + minDistance: + m_OverrideState: 0 + m_Value: 0 + fadeDistance: + m_OverrideState: 0 + m_Value: 5 + fadeInDistance: + m_OverrideState: 0 + m_Value: 0 + rayBias: + m_OverrideState: 0 + m_Value: 0.2 + thicknessScale: + m_OverrideState: 0 + m_Value: 0.15 + m_SampleCount: + m_OverrideState: 0 + m_Value: 10 +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3} + m_Name: DefaultSettingsVolumeProfile + m_EditorClassIdentifier: + components: + - {fileID: 7686318427622180703} + - {fileID: -1016694868962581565} + - {fileID: 7502528774814404555} + - {fileID: 7542669330009093999} + - {fileID: 1501199423866068322} + - {fileID: 5315503232242033309} + - {fileID: 1932259527246508038} + - {fileID: 448115243408767295} + - {fileID: -7089757308646879465} + - {fileID: -8500501345142028434} +--- !u!114 &448115243408767295 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 59b6606ef2548734bb6d11b9d160bc7e, type: 3} + m_Name: HDRISky + m_EditorClassIdentifier: + active: 1 + rotation: + m_OverrideState: 0 + m_Value: 0 + skyIntensityMode: + m_OverrideState: 0 + m_Value: 0 + exposure: + m_OverrideState: 1 + m_Value: 11 + multiplier: + m_OverrideState: 0 + m_Value: 1 + upperHemisphereLuxValue: + m_OverrideState: 1 + m_Value: 0.4660715 + upperHemisphereLuxColor: + m_OverrideState: 1 + m_Value: {x: 0.18750614, y: 0.29181972, z: 0.5} + desiredLuxValue: + m_OverrideState: 0 + m_Value: 20000 + updateMode: + m_OverrideState: 0 + m_Value: 0 + updatePeriod: + m_OverrideState: 0 + m_Value: 0 + includeSunInBaking: + m_OverrideState: 0 + m_Value: 0 + hdriSky: + m_OverrideState: 1 + m_Value: {fileID: 8900000, guid: 8253d41e6e8b11a4cbe77a4f8f82934d, type: 3} + distortionMode: + m_OverrideState: 0 + m_Value: 0 + flowmap: + m_OverrideState: 0 + m_Value: {fileID: 0} + upperHemisphereOnly: + m_OverrideState: 0 + m_Value: 1 + scrollOrientation: + m_OverrideState: 0 + m_Value: + mode: 1 + customValue: 0 + additiveValue: 0 + multiplyValue: 1 + scrollSpeed: + m_OverrideState: 0 + m_Value: + mode: 1 + customValue: 100 + additiveValue: 0 + multiplyValue: 1 + enableBackplate: + m_OverrideState: 0 + m_Value: 0 + backplateType: + m_OverrideState: 0 + m_Value: 0 + groundLevel: + m_OverrideState: 0 + m_Value: 0 + scale: + m_OverrideState: 0 + m_Value: {x: 32, y: 32} + projectionDistance: + m_OverrideState: 0 + m_Value: 16 + plateRotation: + m_OverrideState: 0 + m_Value: 0 + plateTexRotation: + m_OverrideState: 0 + m_Value: 0 + plateTexOffset: + m_OverrideState: 0 + m_Value: {x: 0, y: 0} + blendAmount: + m_OverrideState: 0 + m_Value: 0 + shadowTint: + m_OverrideState: 0 + m_Value: {r: 0.5, g: 0.5, b: 0.5, a: 1} + pointLightShadow: + m_OverrideState: 0 + m_Value: 0 + dirLightShadow: + m_OverrideState: 0 + m_Value: 0 + rectLightShadow: + m_OverrideState: 0 + m_Value: 0 + m_SkyVersion: 1 + enableDistortion: + m_OverrideState: 0 + m_Value: 0 + procedural: + m_OverrideState: 0 + m_Value: 1 + scrollDirection: + m_OverrideState: 0 + m_Value: 0 + m_ObsoleteScrollSpeed: + m_OverrideState: 0 + m_Value: 1 +--- !u!114 &1501199423866068322 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 24f077503be6ae942a1e1245dbd53ea9, type: 3} + m_Name: Bloom + m_EditorClassIdentifier: + active: 1 + quality: + m_OverrideState: 1 + m_Value: 1 + threshold: + m_OverrideState: 0 + m_Value: 0 + intensity: + m_OverrideState: 1 + m_Value: 0.2 + scatter: + m_OverrideState: 0 + m_Value: 0.7 + tint: + m_OverrideState: 0 + m_Value: {r: 1, g: 1, b: 1, a: 1} + dirtTexture: + m_OverrideState: 0 + m_Value: {fileID: 0} + dirtIntensity: + m_OverrideState: 0 + m_Value: 0 + anamorphic: + m_OverrideState: 0 + m_Value: 1 + m_Resolution: + m_OverrideState: 1 + m_Value: 2 + m_HighQualityPrefiltering: + m_OverrideState: 1 + m_Value: 0 + m_HighQualityFiltering: + m_OverrideState: 1 + m_Value: 1 +--- !u!114 &1932259527246508038 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0d7593b3a9277ac4696b20006c21dde2, type: 3} + m_Name: VisualEnvironment + m_EditorClassIdentifier: + active: 1 + skyType: + m_OverrideState: 1 + m_Value: 1 + cloudType: + m_OverrideState: 0 + m_Value: 0 + skyAmbientMode: + m_OverrideState: 0 + m_Value: 0 + windOrientation: + m_OverrideState: 0 + m_Value: 0 + windSpeed: + m_OverrideState: 0 + m_Value: 100 + fogType: + m_OverrideState: 0 + m_Value: 0 +--- !u!114 &5315503232242033309 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2d08ce26990eb1a4a9177b860541e702, type: 3} + m_Name: Exposure + m_EditorClassIdentifier: + active: 1 + mode: + m_OverrideState: 1 + m_Value: 1 + meteringMode: + m_OverrideState: 0 + m_Value: 2 + luminanceSource: + m_OverrideState: 0 + m_Value: 1 + fixedExposure: + m_OverrideState: 0 + m_Value: 0 + compensation: + m_OverrideState: 0 + m_Value: 0 + limitMin: + m_OverrideState: 0 + m_Value: -10 + limitMax: + m_OverrideState: 0 + m_Value: 10 + curveMap: + m_OverrideState: 0 + m_Value: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: -10 + value: -10 + inSlope: 0 + outSlope: 1 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 20 + value: 20 + inSlope: 1 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + limitMinCurveMap: + m_OverrideState: 0 + m_Value: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: -10 + value: -12 + inSlope: 0 + outSlope: 1 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 20 + value: 18 + inSlope: 1 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + limitMaxCurveMap: + m_OverrideState: 0 + m_Value: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: -10 + value: -8 + inSlope: 0 + outSlope: 1 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 20 + value: 22 + inSlope: 1 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + adaptationMode: + m_OverrideState: 0 + m_Value: 1 + adaptationSpeedDarkToLight: + m_OverrideState: 0 + m_Value: 3 + adaptationSpeedLightToDark: + m_OverrideState: 0 + m_Value: 1 + weightTextureMask: + m_OverrideState: 0 + m_Value: {fileID: 0} + histogramPercentages: + m_OverrideState: 0 + m_Value: {x: 40, y: 90} + histogramUseCurveRemapping: + m_OverrideState: 0 + m_Value: 0 + targetMidGray: + m_OverrideState: 0 + m_Value: 0 + centerAroundExposureTarget: + m_OverrideState: 0 + m_Value: 0 + proceduralCenter: + m_OverrideState: 0 + m_Value: {x: 0.5, y: 0.5} + proceduralRadii: + m_OverrideState: 0 + m_Value: {x: 0.3, y: 0.3} + maskMinIntensity: + m_OverrideState: 0 + m_Value: -30 + maskMaxIntensity: + m_OverrideState: 0 + m_Value: 30 + proceduralSoftness: + m_OverrideState: 0 + m_Value: 0.5 +--- !u!114 &7502528774814404555 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 9008a067f4d626c4d8bc4bc48f04bb89, type: 3} + m_Name: AmbientOcclusion + m_EditorClassIdentifier: + active: 1 + quality: + m_OverrideState: 0 + m_Value: 1 + rayTracing: + m_OverrideState: 0 + m_Value: 0 + intensity: + m_OverrideState: 1 + m_Value: 0.5 + directLightingStrength: + m_OverrideState: 0 + m_Value: 0 + radius: + m_OverrideState: 1 + m_Value: 1.5 + spatialBilateralAggressiveness: + m_OverrideState: 0 + m_Value: 0.15 + temporalAccumulation: + m_OverrideState: 0 + m_Value: 1 + ghostingReduction: + m_OverrideState: 0 + m_Value: 0.5 + blurSharpness: + m_OverrideState: 0 + m_Value: 0.1 + layerMask: + m_OverrideState: 0 + m_Value: + serializedVersion: 2 + m_Bits: 4294967295 + specularOcclusion: + m_OverrideState: 0 + m_Value: 0.5 + occluderMotionRejection: + m_OverrideState: 0 + m_Value: 1 + receiverMotionRejection: + m_OverrideState: 0 + m_Value: 1 + m_StepCount: + m_OverrideState: 0 + m_Value: 6 + m_FullResolution: + m_OverrideState: 0 + m_Value: 0 + m_MaximumRadiusInPixels: + m_OverrideState: 0 + m_Value: 40 + m_BilateralUpsample: + m_OverrideState: 0 + m_Value: 1 + m_DirectionCount: + m_OverrideState: 0 + m_Value: 2 + m_RayLength: + m_OverrideState: 0 + m_Value: 3 + m_SampleCount: + m_OverrideState: 0 + m_Value: 2 + m_Denoise: + m_OverrideState: 0 + m_Value: 1 + m_DenoiserRadius: + m_OverrideState: 0 + m_Value: 0.5 +--- !u!114 &7542669330009093999 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f086a068d4c5889438831b3ae9afc11c, type: 3} + m_Name: Tonemapping + m_EditorClassIdentifier: + active: 1 + mode: + m_OverrideState: 1 + m_Value: 2 + useFullACES: + m_OverrideState: 0 + m_Value: 0 + toeStrength: + m_OverrideState: 0 + m_Value: 0 + toeLength: + m_OverrideState: 0 + m_Value: 0.5 + shoulderStrength: + m_OverrideState: 0 + m_Value: 0 + shoulderLength: + m_OverrideState: 0 + m_Value: 0.5 + shoulderAngle: + m_OverrideState: 0 + m_Value: 0 + gamma: + m_OverrideState: 0 + m_Value: 1 + lutTexture: + m_OverrideState: 0 + m_Value: {fileID: 0} + lutContribution: + m_OverrideState: 0 + m_Value: 1 + neutralHDRRangeReductionMode: + m_OverrideState: 0 + m_Value: 2 + acesPreset: + m_OverrideState: 0 + m_Value: 3 + fallbackMode: + m_OverrideState: 0 + m_Value: 1 + hueShiftAmount: + m_OverrideState: 0 + m_Value: 0 + detectPaperWhite: + m_OverrideState: 0 + m_Value: 0 + paperWhite: + m_OverrideState: 0 + m_Value: 300 + detectBrightnessLimits: + m_OverrideState: 0 + m_Value: 1 + minNits: + m_OverrideState: 0 + m_Value: 0.005 + maxNits: + m_OverrideState: 0 + m_Value: 1000 +--- !u!114 &7686318427622180703 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 7ddcec8a8eb2d684d833ac8f5d26aebd, type: 3} + m_Name: HDShadowSettings + m_EditorClassIdentifier: + active: 1 + maxShadowDistance: + m_OverrideState: 1 + m_Value: 150 + directionalTransmissionMultiplier: + m_OverrideState: 0 + m_Value: 1 + cascadeShadowSplitCount: + m_OverrideState: 0 + m_Value: 4 + cascadeShadowSplit0: + m_OverrideState: 0 + m_Value: 0.05 + cascadeShadowSplit1: + m_OverrideState: 0 + m_Value: 0.15 + cascadeShadowSplit2: + m_OverrideState: 0 + m_Value: 0.3 + cascadeShadowBorder0: + m_OverrideState: 1 + m_Value: 0.13333334 + cascadeShadowBorder1: + m_OverrideState: 1 + m_Value: 0.06666666 + cascadeShadowBorder2: + m_OverrideState: 0 + m_Value: 0 + cascadeShadowBorder3: + m_OverrideState: 0 + m_Value: 0 diff --git a/Assets/Settings/HDRPDefaultResources/DefaultSettingsVolumeProfile.asset.meta b/Assets/Settings/HDRPDefaultResources/DefaultSettingsVolumeProfile.asset.meta new file mode 100644 index 0000000..18b5dba --- /dev/null +++ b/Assets/Settings/HDRPDefaultResources/DefaultSettingsVolumeProfile.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 14b392ee213d25a48b1feddbd9f5a9be +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Settings/HDRPDefaultResources/HDRenderPipelineAsset.asset b/Assets/Settings/HDRPDefaultResources/HDRenderPipelineAsset.asset new file mode 100644 index 0000000..5225c6c --- /dev/null +++ b/Assets/Settings/HDRPDefaultResources/HDRenderPipelineAsset.asset @@ -0,0 +1,494 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0cf1dab834d4ec34195b920ea7bbf9ec, type: 3} + m_Name: HDRenderPipelineAsset + m_EditorClassIdentifier: + m_RenderPipelineSettings: + supportShadowMask: 1 + supportSSR: 0 + supportSSRTransparent: 0 + supportSSAO: 1 + supportSSGI: 0 + supportSubsurfaceScattering: 1 + sssSampleBudget: + m_Values: 140000002800000050000000 + m_SchemaId: + m_Id: With3Levels + supportVolumetrics: 1 + supportVolumetricClouds: 0 + supportLightLayers: 0 + supportWater: 0 + waterSimulationResolution: 128 + waterCPUSimulation: 0 + supportDistortion: 1 + supportTransparentBackface: 1 + supportTransparentDepthPrepass: 1 + supportTransparentDepthPostpass: 1 + colorBufferFormat: 74 + supportCustomPass: 1 + customBufferFormat: 12 + supportedLitShaderMode: 2 + planarReflectionResolution: + m_Values: 000100000004000000080000 + m_SchemaId: + m_Id: With3Levels + cubeReflectionResolution: + m_Values: 000100000002000000040000 + m_SchemaId: + m_Id: With3Levels + supportDecals: 1 + supportDecalLayers: 0 + supportSurfaceGradient: 0 + decalNormalBufferHP: 0 + msaaSampleCount: 1 + supportMotionVectors: 1 + supportDataDrivenLensFlare: 1 + supportRuntimeAOVAPI: 0 + supportDitheringCrossFade: 1 + supportTerrainHole: 0 + lightProbeSystem: 0 + probeVolumeMemoryBudget: 1024 + probeVolumeBlendingMemoryBudget: 128 + supportProbeVolumeStreaming: 0 + probeVolumeSHBands: 1 + supportRayTracing: 0 + supportedRayTracingMode: 3 + lightLoopSettings: + cookieAtlasSize: 2048 + cookieFormat: 74 + cookieAtlasLastValidMip: 0 + cookieTexArraySize: 1 + planarReflectionAtlasSize: 1024 + reflectionProbeCacheSize: 64 + reflectionCubemapSize: 256 + maxEnvLightsOnScreen: 64 + reflectionCacheCompressed: 0 + reflectionProbeFormat: 74 + reflectionProbeTexCacheSize: 1073750016 + reflectionProbeTexLastValidCubeMip: 3 + reflectionProbeTexLastValidPlanarMip: 0 + reflectionProbeDecreaseResToFit: 1 + skyReflectionSize: 256 + skyLightingOverrideLayerMask: + serializedVersion: 2 + m_Bits: 0 + supportFabricConvolution: 0 + maxDirectionalLightsOnScreen: 16 + maxPunctualLightsOnScreen: 512 + maxAreaLightsOnScreen: 64 + maxCubeReflectionOnScreen: 48 + maxPlanarReflectionOnScreen: 16 + maxDecalsOnScreen: 512 + maxLightsPerClusterCell: 8 + maxLocalVolumetricFogSize: 32 + maxLocalVolumetricFogOnScreen: 64 + hdShadowInitParams: + maxShadowRequests: 128 + directionalShadowsDepthBits: 32 + shadowFilteringQuality: 1 + areaShadowFilteringQuality: 0 + punctualLightShadowAtlas: + shadowAtlasResolution: 4096 + shadowAtlasDepthBits: 32 + useDynamicViewportRescale: 1 + areaLightShadowAtlas: + shadowAtlasResolution: 4096 + shadowAtlasDepthBits: 32 + useDynamicViewportRescale: 1 + cachedPunctualLightShadowAtlas: 2048 + cachedAreaLightShadowAtlas: 1024 + allowDirectionalMixedCachedShadows: 0 + shadowResolutionDirectional: + m_Values: 00010000000200000004000000080000 + m_SchemaId: + m_Id: With4Levels + shadowResolutionPunctual: + m_Values: 00010000000200000004000000080000 + m_SchemaId: + m_Id: With4Levels + shadowResolutionArea: + m_Values: 00010000000200000004000000080000 + m_SchemaId: + m_Id: With4Levels + maxDirectionalShadowMapResolution: 2048 + maxPunctualShadowMapResolution: 2048 + maxAreaShadowMapResolution: 2048 + supportScreenSpaceShadows: 0 + maxScreenSpaceShadowSlots: 4 + screenSpaceShadowBufferFormat: 48 + decalSettings: + drawDistance: 1000 + atlasWidth: 4096 + atlasHeight: 4096 + perChannelMask: 0 + postProcessSettings: + m_LutSize: 32 + lutFormat: 48 + bufferFormat: 74 + dynamicResolutionSettings: + enabled: 0 + useMipBias: 0 + enableDLSS: 0 + DLSSPerfQualitySetting: 0 + DLSSInjectionPoint: 0 + DLSSUseOptimalSettings: 0 + DLSSSharpness: 0 + fsrOverrideSharpness: 0 + fsrSharpness: 0.92 + maxPercentage: 100 + minPercentage: 100 + dynResType: 1 + upsampleFilter: 1 + forceResolution: 0 + forcedPercentage: 100 + lowResTransparencyMinimumThreshold: 0 + rayTracingHalfResThreshold: 50 + lowresTransparentSettings: + enabled: 1 + checkerboardDepthBuffer: 1 + upsampleType: 1 + xrSettings: + singlePass: 1 + occlusionMesh: 1 + cameraJitter: 0 + allowMotionBlur: 0 + postProcessQualitySettings: + NearBlurSampleCount: 030000000500000008000000 + NearBlurMaxRadius: + - 2 + - 4 + - 7 + FarBlurSampleCount: 04000000070000000e000000 + FarBlurMaxRadius: + - 5 + - 8 + - 13 + DoFResolution: 040000000200000001000000 + DoFHighQualityFiltering: 000101 + DoFPhysicallyBased: 000000 + LimitManualRangeNearBlur: 000000 + MotionBlurSampleCount: 04000000080000000c000000 + BloomRes: 040000000200000002000000 + BloomHighQualityFiltering: 000101 + BloomHighQualityPrefiltering: 000001 + ChromaticAberrationMaxSamples: 03000000060000000c000000 + lightSettings: + useContactShadow: + m_Values: 000001 + m_SchemaId: + m_Id: With3Levels + maximumLODLevel: + m_Values: 000000000000000000000000 + m_SchemaId: + m_Id: With3Levels + lodBias: + m_Values: + - 1 + - 1 + - 1 + m_SchemaId: + m_Id: With3Levels + lightingQualitySettings: + AOStepCount: 040000000600000010000000 + AOFullRes: 000001 + AOMaximumRadiusPixels: 200000002800000050000000 + AOBilateralUpsample: 000101 + AODirectionCount: 010000000200000004000000 + ContactShadowSampleCount: 060000000a00000010000000 + SSRMaxRaySteps: 100000002000000040000000 + SSGIRaySteps: 200000004000000080000000 + SSGIDenoise: 010101 + SSGIHalfResDenoise: 010000 + SSGIDenoiserRadius: + - 0.75 + - 0.5 + - 0.5 + SSGISecondDenoise: 010101 + RTAORayLength: + - 0.5 + - 3 + - 20 + RTAOSampleCount: 010000000200000008000000 + RTAODenoise: 010101 + RTAODenoiserRadius: + - 0.25 + - 0.5 + - 0.65 + RTGIRayLength: + - 50 + - 50 + - 50 + RTGIFullResolution: 000001 + RTGIClampValue: + - 0.5 + - 0.8 + - 1.5 + RTGIRaySteps: 200000003000000040000000 + RTGIDenoise: 010101 + RTGIHalfResDenoise: 010000 + RTGIDenoiserRadius: + - 0.75 + - 0.5 + - 0.25 + RTGISecondDenoise: 010101 + RTRMinSmoothness: + - 0.6 + - 0.4 + - 0 + RTRSmoothnessFadeStart: + - 0.7 + - 0.5 + - 0 + RTRRayLength: + - 50 + - 50 + - 50 + RTRClampValue: + - 0.8 + - 1 + - 1.2 + RTRFullResolution: 000001 + RTRRayMaxIterations: 200000003000000040000000 + RTRDenoise: 010101 + RTRDenoiserRadius: 080000000c00000010000000 + RTRSmoothDenoising: 010000 + Fog_ControlMode: 000000000000000000000000 + Fog_Budget: + - 0.166 + - 0.33 + - 0.666 + Fog_DepthRatio: + - 0.666 + - 0.666 + - 0.5 + m_ObsoleteLightLayerName0: + m_ObsoleteLightLayerName1: + m_ObsoleteLightLayerName2: + m_ObsoleteLightLayerName3: + m_ObsoleteLightLayerName4: + m_ObsoleteLightLayerName5: + m_ObsoleteLightLayerName6: + m_ObsoleteLightLayerName7: + m_ObsoleteDecalLayerName0: + m_ObsoleteDecalLayerName1: + m_ObsoleteDecalLayerName2: + m_ObsoleteDecalLayerName3: + m_ObsoleteDecalLayerName4: + m_ObsoleteDecalLayerName5: + m_ObsoleteDecalLayerName6: + m_ObsoleteDecalLayerName7: + m_ObsoleteSupportRuntimeDebugDisplay: 0 + allowShaderVariantStripping: 1 + enableSRPBatcher: 1 + availableMaterialQualityLevels: -1 + m_DefaultMaterialQualityLevel: 4 + diffusionProfileSettings: {fileID: 0} + virtualTexturingSettings: + streamingCpuCacheSizeInMegaBytes: 256 + streamingMipPreloadTexturesPerFrame: 0 + streamingPreloadMipCount: 1 + streamingGpuCacheSettings: + - format: 0 + sizeInMegaBytes: 128 + m_UseRenderGraph: 1 + m_Version: 22 + m_ObsoleteFrameSettings: + overrides: 0 + enableShadow: 0 + enableContactShadows: 0 + enableShadowMask: 0 + enableSSR: 0 + enableSSAO: 0 + enableSubsurfaceScattering: 0 + enableTransmission: 0 + enableAtmosphericScattering: 0 + enableVolumetrics: 0 + enableReprojectionForVolumetrics: 0 + enableLightLayers: 0 + enableExposureControl: 1 + diffuseGlobalDimmer: 0 + specularGlobalDimmer: 0 + shaderLitMode: 0 + enableDepthPrepassWithDeferredRendering: 0 + enableTransparentPrepass: 0 + enableMotionVectors: 0 + enableObjectMotionVectors: 0 + enableDecals: 0 + enableRoughRefraction: 0 + enableTransparentPostpass: 0 + enableDistortion: 0 + enablePostprocess: 0 + enableOpaqueObjects: 0 + enableTransparentObjects: 0 + enableRealtimePlanarReflection: 0 + enableMSAA: 0 + enableAsyncCompute: 0 + runLightListAsync: 0 + runSSRAsync: 0 + runSSAOAsync: 0 + runContactShadowsAsync: 0 + runVolumeVoxelizationAsync: 0 + lightLoopSettings: + overrides: 0 + enableDeferredTileAndCluster: 0 + enableComputeLightEvaluation: 0 + enableComputeLightVariants: 0 + enableComputeMaterialVariants: 0 + enableFptlForForwardOpaque: 0 + enableBigTilePrepass: 0 + isFptlEnabled: 0 + m_ObsoleteBakedOrCustomReflectionFrameSettings: + overrides: 0 + enableShadow: 0 + enableContactShadows: 0 + enableShadowMask: 0 + enableSSR: 0 + enableSSAO: 0 + enableSubsurfaceScattering: 0 + enableTransmission: 0 + enableAtmosphericScattering: 0 + enableVolumetrics: 0 + enableReprojectionForVolumetrics: 0 + enableLightLayers: 0 + enableExposureControl: 1 + diffuseGlobalDimmer: 0 + specularGlobalDimmer: 0 + shaderLitMode: 0 + enableDepthPrepassWithDeferredRendering: 0 + enableTransparentPrepass: 0 + enableMotionVectors: 0 + enableObjectMotionVectors: 0 + enableDecals: 0 + enableRoughRefraction: 0 + enableTransparentPostpass: 0 + enableDistortion: 0 + enablePostprocess: 0 + enableOpaqueObjects: 0 + enableTransparentObjects: 0 + enableRealtimePlanarReflection: 0 + enableMSAA: 0 + enableAsyncCompute: 0 + runLightListAsync: 0 + runSSRAsync: 0 + runSSAOAsync: 0 + runContactShadowsAsync: 0 + runVolumeVoxelizationAsync: 0 + lightLoopSettings: + overrides: 0 + enableDeferredTileAndCluster: 0 + enableComputeLightEvaluation: 0 + enableComputeLightVariants: 0 + enableComputeMaterialVariants: 0 + enableFptlForForwardOpaque: 0 + enableBigTilePrepass: 0 + isFptlEnabled: 0 + m_ObsoleteRealtimeReflectionFrameSettings: + overrides: 0 + enableShadow: 0 + enableContactShadows: 0 + enableShadowMask: 0 + enableSSR: 0 + enableSSAO: 0 + enableSubsurfaceScattering: 0 + enableTransmission: 0 + enableAtmosphericScattering: 0 + enableVolumetrics: 0 + enableReprojectionForVolumetrics: 0 + enableLightLayers: 0 + enableExposureControl: 1 + diffuseGlobalDimmer: 0 + specularGlobalDimmer: 0 + shaderLitMode: 0 + enableDepthPrepassWithDeferredRendering: 0 + enableTransparentPrepass: 0 + enableMotionVectors: 0 + enableObjectMotionVectors: 0 + enableDecals: 0 + enableRoughRefraction: 0 + enableTransparentPostpass: 0 + enableDistortion: 0 + enablePostprocess: 0 + enableOpaqueObjects: 0 + enableTransparentObjects: 0 + enableRealtimePlanarReflection: 0 + enableMSAA: 0 + enableAsyncCompute: 0 + runLightListAsync: 0 + runSSRAsync: 0 + runSSAOAsync: 0 + runContactShadowsAsync: 0 + runVolumeVoxelizationAsync: 0 + lightLoopSettings: + overrides: 0 + enableDeferredTileAndCluster: 0 + enableComputeLightEvaluation: 0 + enableComputeLightVariants: 0 + enableComputeMaterialVariants: 0 + enableFptlForForwardOpaque: 0 + enableBigTilePrepass: 0 + isFptlEnabled: 0 + m_ObsoleteDefaultVolumeProfile: {fileID: 0} + m_ObsoleteDefaultLookDevProfile: {fileID: 0} + m_ObsoleteFrameSettingsMovedToDefaultSettings: + bitDatas: + data1: 0 + data2: 0 + lodBias: 0 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 0 + msaaMode: 0 + materialQuality: 0 + m_ObsoleteBakedOrCustomReflectionFrameSettingsMovedToDefaultSettings: + bitDatas: + data1: 0 + data2: 0 + lodBias: 0 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 0 + msaaMode: 0 + materialQuality: 0 + m_ObsoleteRealtimeReflectionFrameSettingsMovedToDefaultSettings: + bitDatas: + data1: 0 + data2: 0 + lodBias: 0 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 0 + msaaMode: 0 + materialQuality: 0 + m_ObsoleteRenderPipelineResources: {fileID: 0} + m_ObsoleteRenderPipelineRayTracingResources: {fileID: 0} + m_ObsoleteBeforeTransparentCustomPostProcesses: [] + m_ObsoleteBeforePostProcessCustomPostProcesses: [] + m_ObsoleteAfterPostProcessCustomPostProcesses: [] + m_ObsoleteBeforeTAACustomPostProcesses: [] + m_ObsoleteShaderVariantLogLevel: 0 + m_ObsoleteLensAttenuation: 0 + m_ObsoleteDiffusionProfileSettingsList: [] diff --git a/Assets/Settings/HDRPDefaultResources/HDRenderPipelineAsset.asset.meta b/Assets/Settings/HDRPDefaultResources/HDRenderPipelineAsset.asset.meta new file mode 100644 index 0000000..2b1a38d --- /dev/null +++ b/Assets/Settings/HDRPDefaultResources/HDRenderPipelineAsset.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: b9f3086da92434da0bc1518f19f0ce86 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Settings/HDRPDefaultResources/HDRenderPipelineGlobalSettings.asset b/Assets/Settings/HDRPDefaultResources/HDRenderPipelineGlobalSettings.asset new file mode 100644 index 0000000..030c5e6 --- /dev/null +++ b/Assets/Settings/HDRPDefaultResources/HDRenderPipelineGlobalSettings.asset @@ -0,0 +1,108 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 781cc897cf8675041a751163b51f97dd, type: 3} + m_Name: HDRenderPipelineGlobalSettings + m_EditorClassIdentifier: + m_DefaultVolumeProfile: {fileID: 11400000, guid: 14b392ee213d25a48b1feddbd9f5a9be, + type: 2} + m_LookDevVolumeProfile: {fileID: 11400000, guid: 4594f4a3fb14247e192bcca6dc23c8ed, + type: 2} + m_RenderingPathDefaultCameraFrameSettings: + bitDatas: + data1: 72198260625768269 + data2: 13763000511710068760 + lodBias: 1 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 20 + msaaMode: 1 + materialQuality: 0 + m_RenderingPathDefaultBakedOrCustomReflectionFrameSettings: + bitDatas: + data1: 135310754214733 + data2: 4539628428684460056 + lodBias: 1 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 20 + msaaMode: 1 + materialQuality: 0 + m_RenderingPathDefaultRealtimeReflectionFrameSettings: + bitDatas: + data1: 139923391782733 + data2: 13763000465807638544 + lodBias: 1 + lodBiasMode: 0 + lodBiasQualityLevel: 0 + maximumLODLevel: 0 + maximumLODLevelMode: 0 + maximumLODLevelQualityLevel: 0 + sssQualityMode: 0 + sssQualityLevel: 0 + sssCustomSampleBudget: 20 + msaaMode: 1 + materialQuality: 0 + m_RenderPipelineResources: {fileID: 11400000, guid: 3ce144cff5783da45aa5d4fdc2da14b7, + type: 2} + m_RenderPipelineRayTracingResources: {fileID: 0} + beforeTransparentCustomPostProcesses: [] + beforePostProcessCustomPostProcesses: [] + afterPostProcessBlursCustomPostProcesses: [] + afterPostProcessCustomPostProcesses: [] + beforeTAACustomPostProcesses: [] + lightLayerName0: Light Layer default + lightLayerName1: Light Layer 1 + lightLayerName2: Light Layer 2 + lightLayerName3: Light Layer 3 + lightLayerName4: Light Layer 4 + lightLayerName5: Light Layer 5 + lightLayerName6: Light Layer 6 + lightLayerName7: Light Layer 7 + decalLayerName0: Decal Layer default + decalLayerName1: Decal Layer 1 + decalLayerName2: Decal Layer 2 + decalLayerName3: Decal Layer 3 + decalLayerName4: Decal Layer 4 + decalLayerName5: Decal Layer 5 + decalLayerName6: Decal Layer 6 + decalLayerName7: Decal Layer 7 + lensAttenuationMode: 0 + colorGradingSpace: 0 + m_ObsoleteDiffusionProfileSettingsList: + - {fileID: 11400000, guid: 48e911a1e337b44e2b85dbc65b47a594, type: 2} + - {fileID: 11400000, guid: 879ffae44eefa4412bb327928f1a96dd, type: 2} + rendererListCulling: 0 + DLSSProjectId: 000000 + useDLSSCustomProjectId: 0 + supportProbeVolumes: 0 + supportRuntimeDebugDisplay: 0 + autoRegisterDiffusionProfiles: 0 + apvScenesData: + serializedBounds: [] + serializedHasVolumes: [] + serializedProfiles: [] + serializedBakeSettings: [] + serializedBakingSets: [] + m_LightingScenario: Default + m_Version: 5 + m_ShaderVariantLogLevel: 0 + m_ExportShaderVariants: 1 diff --git a/Assets/Settings/HDRPDefaultResources/HDRenderPipelineGlobalSettings.asset.meta b/Assets/Settings/HDRPDefaultResources/HDRenderPipelineGlobalSettings.asset.meta new file mode 100644 index 0000000..bdf3753 --- /dev/null +++ b/Assets/Settings/HDRPDefaultResources/HDRenderPipelineGlobalSettings.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: ac0316ca287ba459492b669ff1317a6f +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Settings/SkyandFogSettingsProfile.asset b/Assets/Settings/SkyandFogSettingsProfile.asset new file mode 100644 index 0000000..b60f94a --- /dev/null +++ b/Assets/Settings/SkyandFogSettingsProfile.asset @@ -0,0 +1,498 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-7724654706381055090 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d877ec3e844f2ca46830012e8e79319b, type: 3} + m_Name: + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + rotation: + m_OverrideState: 0 + m_Value: 0 + min: 0 + max: 360 + skyIntensityMode: + m_OverrideState: 0 + m_Value: 0 + exposure: + m_OverrideState: 0 + m_Value: 0 + multiplier: + m_OverrideState: 0 + m_Value: 1 + min: 0 + upperHemisphereLuxValue: + m_OverrideState: 0 + m_Value: 1 + min: 0 + upperHemisphereLuxColor: + m_OverrideState: 0 + m_Value: {x: 0, y: 0, z: 0} + desiredLuxValue: + m_OverrideState: 0 + m_Value: 20000 + updateMode: + m_OverrideState: 0 + m_Value: 0 + updatePeriod: + m_OverrideState: 0 + m_Value: 0 + min: 0 + includeSunInBaking: + m_OverrideState: 0 + m_Value: 0 + m_SkyVersion: 1 + m_ObsoleteEarthPreset: + m_OverrideState: 0 + m_Value: 1 + type: + m_OverrideState: 0 + m_Value: 1 + sphericalMode: + m_OverrideState: 0 + m_Value: 1 + seaLevel: + m_OverrideState: 0 + m_Value: 0 + planetaryRadius: + m_OverrideState: 0 + m_Value: 6378100 + min: 0 + planetCenterPosition: + m_OverrideState: 0 + m_Value: {x: 0, y: -6378100, z: 0} + airDensityR: + m_OverrideState: 0 + m_Value: 0.04534 + min: 0 + max: 1 + airDensityG: + m_OverrideState: 0 + m_Value: 0.10237241 + min: 0 + max: 1 + airDensityB: + m_OverrideState: 0 + m_Value: 0.23264056 + min: 0 + max: 1 + airTint: + m_OverrideState: 0 + m_Value: {r: 0.9, g: 0.9, b: 1, a: 1} + hdr: 0 + showAlpha: 0 + showEyeDropper: 1 + airMaximumAltitude: + m_OverrideState: 0 + m_Value: 55261.973 + min: 0 + aerosolDensity: + m_OverrideState: 0 + m_Value: 0.01192826 + min: 0 + max: 1 + aerosolTint: + m_OverrideState: 0 + m_Value: {r: 0.9, g: 0.9, b: 0.9, a: 1} + hdr: 0 + showAlpha: 0 + showEyeDropper: 1 + aerosolMaximumAltitude: + m_OverrideState: 0 + m_Value: 8289.296 + min: 0 + aerosolAnisotropy: + m_OverrideState: 0 + m_Value: 0 + min: -1 + max: 1 + numberOfBounces: + m_OverrideState: 0 + m_Value: 8 + min: 1 + max: 10 + groundTint: + m_OverrideState: 1 + m_Value: {r: 0.122641504, g: 0.1043775, b: 0.09313812, a: 1} + hdr: 0 + showAlpha: 0 + showEyeDropper: 0 + groundColorTexture: + m_OverrideState: 0 + m_Value: {fileID: 0} + groundEmissionTexture: + m_OverrideState: 0 + m_Value: {fileID: 0} + groundEmissionMultiplier: + m_OverrideState: 0 + m_Value: 1 + min: 0 + planetRotation: + m_OverrideState: 0 + m_Value: {x: 0, y: 0, z: 0} + spaceEmissionTexture: + m_OverrideState: 0 + m_Value: {fileID: 0} + spaceEmissionMultiplier: + m_OverrideState: 0 + m_Value: 1 + min: 0 + spaceRotation: + m_OverrideState: 0 + m_Value: {x: 0, y: 0, z: 0} + colorSaturation: + m_OverrideState: 0 + m_Value: 1 + min: 0 + max: 1 + alphaSaturation: + m_OverrideState: 0 + m_Value: 1 + min: 0 + max: 1 + alphaMultiplier: + m_OverrideState: 0 + m_Value: 1 + min: 0 + max: 1 + horizonTint: + m_OverrideState: 0 + m_Value: {r: 1, g: 1, b: 1, a: 1} + hdr: 0 + showAlpha: 0 + showEyeDropper: 0 + zenithTint: + m_OverrideState: 0 + m_Value: {r: 1, g: 1, b: 1, a: 1} + hdr: 0 + showAlpha: 0 + showEyeDropper: 0 + horizonZenithShift: + m_OverrideState: 0 + m_Value: 0 + min: -1 + max: 1 +--- !u!114 &-4151792930034644520 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 953beb541740ddc499d005ee80c9ff29, type: 3} + m_Name: + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + quality: + m_OverrideState: 0 + m_Value: 1 + enabled: + m_OverrideState: 1 + m_Value: 1 + colorMode: + m_OverrideState: 0 + m_Value: 1 + color: + m_OverrideState: 0 + m_Value: {r: 0.5, g: 0.5, b: 0.5, a: 1} + hdr: 1 + showAlpha: 0 + showEyeDropper: 1 + tint: + m_OverrideState: 0 + m_Value: {r: 1, g: 1, b: 1, a: 1} + hdr: 1 + showAlpha: 0 + showEyeDropper: 1 + maxFogDistance: + m_OverrideState: 0 + m_Value: 5000 + min: 0 + mipFogMaxMip: + m_OverrideState: 0 + m_Value: 0.5 + min: 0 + max: 1 + mipFogNear: + m_OverrideState: 0 + m_Value: 0 + min: 0 + mipFogFar: + m_OverrideState: 0 + m_Value: 1000 + min: 0 + baseHeight: + m_OverrideState: 0 + m_Value: 0 + maximumHeight: + m_OverrideState: 0 + m_Value: 50 + meanFreePath: + m_OverrideState: 0 + m_Value: 400 + min: 1 + enableVolumetricFog: + m_OverrideState: 1 + m_Value: 1 + albedo: + m_OverrideState: 0 + m_Value: {r: 1, g: 1, b: 1, a: 1} + hdr: 0 + showAlpha: 1 + showEyeDropper: 1 + globalLightProbeDimmer: + m_OverrideState: 0 + m_Value: 1 + min: 0 + max: 1 + depthExtent: + m_OverrideState: 0 + m_Value: 64 + min: 0.1 + denoisingMode: + m_OverrideState: 0 + m_Value: 2 + anisotropy: + m_OverrideState: 1 + m_Value: 0.65 + min: -1 + max: 1 + sliceDistributionUniformity: + m_OverrideState: 0 + m_Value: 0.75 + min: 0 + max: 1 + m_FogControlMode: + m_OverrideState: 0 + m_Value: 0 + screenResolutionPercentage: + m_OverrideState: 0 + m_Value: 12.5 + min: 6.25 + max: 100 + volumeSliceCount: + m_OverrideState: 0 + m_Value: 64 + min: 1 + max: 1024 + m_VolumetricFogBudget: + m_OverrideState: 0 + m_Value: 0.33 + min: 0 + max: 1 + m_ResolutionDepthRatio: + m_OverrideState: 0 + m_Value: 0.666 + min: 0 + max: 1 + directionalLightsOnly: + m_OverrideState: 0 + m_Value: 0 +--- !u!114 &11400000 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3} + m_Name: SkyandFogSettingsProfile + m_EditorClassIdentifier: + components: + - {fileID: 1142777632297148762} + - {fileID: -7724654706381055090} + - {fileID: -4151792930034644520} + - {fileID: 7642060734654139733} +--- !u!114 &1142777632297148762 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 0d7593b3a9277ac4696b20006c21dde2, type: 3} + m_Name: + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + skyType: + m_OverrideState: 1 + m_Value: 4 + skyAmbientMode: + m_OverrideState: 1 + m_Value: 0 + fogType: + m_OverrideState: 1 + m_Value: 0 +--- !u!114 &7642060734654139733 +MonoBehaviour: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 2d08ce26990eb1a4a9177b860541e702, type: 3} + m_Name: Exposure + m_EditorClassIdentifier: + active: 1 + m_AdvancedMode: 0 + mode: + m_OverrideState: 1 + m_Value: 4 + meteringMode: + m_OverrideState: 0 + m_Value: 2 + luminanceSource: + m_OverrideState: 0 + m_Value: 1 + fixedExposure: + m_OverrideState: 0 + m_Value: 0 + compensation: + m_OverrideState: 0 + m_Value: 0 + limitMin: + m_OverrideState: 1 + m_Value: 2 + limitMax: + m_OverrideState: 1 + m_Value: 14 + curveMap: + m_OverrideState: 0 + m_Value: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: -10 + value: -10 + inSlope: 0 + outSlope: 1 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 20 + value: 20 + inSlope: 1 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + limitMinCurveMap: + m_OverrideState: 0 + m_Value: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: -10 + value: -12 + inSlope: 0 + outSlope: 1 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 20 + value: 18 + inSlope: 1 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + limitMaxCurveMap: + m_OverrideState: 0 + m_Value: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: -10 + value: -8 + inSlope: 0 + outSlope: 1 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + - serializedVersion: 3 + time: 20 + value: 22 + inSlope: 1 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0 + outWeight: 0 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + adaptationMode: + m_OverrideState: 0 + m_Value: 1 + adaptationSpeedDarkToLight: + m_OverrideState: 0 + m_Value: 3 + min: 0.001 + adaptationSpeedLightToDark: + m_OverrideState: 0 + m_Value: 1 + min: 0.001 + weightTextureMask: + m_OverrideState: 0 + m_Value: {fileID: 0} + histogramPercentages: + m_OverrideState: 0 + m_Value: {x: 40, y: 90} + min: 0 + max: 100 + histogramUseCurveRemapping: + m_OverrideState: 0 + m_Value: 0 + targetMidGray: + m_OverrideState: 0 + m_Value: 0 + centerAroundExposureTarget: + m_OverrideState: 0 + m_Value: 0 + proceduralCenter: + m_OverrideState: 0 + m_Value: {x: 0.5, y: 0.5} + proceduralRadii: + m_OverrideState: 0 + m_Value: {x: 0.15, y: 0.15} + maskMinIntensity: + m_OverrideState: 0 + m_Value: -30 + maskMaxIntensity: + m_OverrideState: 0 + m_Value: 30 + proceduralSoftness: + m_OverrideState: 0 + m_Value: 0.5 + min: 0 diff --git a/Assets/Settings/SkyandFogSettingsProfile.asset.meta b/Assets/Settings/SkyandFogSettingsProfile.asset.meta new file mode 100644 index 0000000..ab1b028 --- /dev/null +++ b/Assets/Settings/SkyandFogSettingsProfile.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 8ba92e2dd7f884a0f88b98fa2d235fe7 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/main.unity b/Assets/main.unity new file mode 100644 index 0000000..fc3fe4c --- /dev/null +++ b/Assets/main.unity @@ -0,0 +1,235 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!29 &1 +OcclusionCullingSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_OcclusionBakeSettings: + smallestOccluder: 5 + smallestHole: 0.25 + backfaceThreshold: 100 + m_SceneGUID: 00000000000000000000000000000000 + m_OcclusionCullingData: {fileID: 0} +--- !u!104 &2 +RenderSettings: + m_ObjectHideFlags: 0 + serializedVersion: 9 + m_Fog: 0 + m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1} + m_FogMode: 3 + m_FogDensity: 0.01 + m_LinearFogStart: 0 + m_LinearFogEnd: 300 + m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1} + m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1} + m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1} + m_AmbientIntensity: 1 + m_AmbientMode: 0 + m_SubtractiveShadowColor: {r: 0.42, g: 0.478, b: 0.627, a: 1} + m_SkyboxMaterial: {fileID: 0} + m_HaloStrength: 0.5 + m_FlareStrength: 1 + m_FlareFadeSpeed: 3 + m_HaloTexture: {fileID: 0} + m_SpotCookie: {fileID: 10001, guid: 0000000000000000e000000000000000, type: 0} + m_DefaultReflectionMode: 0 + m_DefaultReflectionResolution: 128 + m_ReflectionBounces: 1 + m_ReflectionIntensity: 1 + m_CustomReflection: {fileID: 0} + m_Sun: {fileID: 0} + m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1} + m_UseRadianceAmbientProbe: 0 +--- !u!157 &3 +LightmapSettings: + m_ObjectHideFlags: 0 + serializedVersion: 12 + m_GIWorkflowMode: 1 + m_GISettings: + serializedVersion: 2 + m_BounceScale: 1 + m_IndirectOutputScale: 1 + m_AlbedoBoost: 1 + m_EnvironmentLightingMode: 0 + m_EnableBakedLightmaps: 1 + m_EnableRealtimeLightmaps: 0 + m_LightmapEditorSettings: + serializedVersion: 12 + m_Resolution: 2 + m_BakeResolution: 40 + m_AtlasSize: 1024 + m_AO: 0 + m_AOMaxDistance: 1 + m_CompAOExponent: 1 + m_CompAOExponentDirect: 0 + m_ExtractAmbientOcclusion: 0 + m_Padding: 2 + m_LightmapParameters: {fileID: 0} + m_LightmapsBakeMode: 1 + m_TextureCompression: 1 + m_FinalGather: 0 + m_FinalGatherFiltering: 1 + m_FinalGatherRayCount: 256 + m_ReflectionCompression: 2 + m_MixedBakeMode: 2 + m_BakeBackend: 1 + m_PVRSampling: 1 + m_PVRDirectSampleCount: 32 + m_PVRSampleCount: 512 + m_PVRBounces: 2 + m_PVREnvironmentSampleCount: 256 + m_PVREnvironmentReferencePointCount: 2048 + m_PVRFilteringMode: 1 + m_PVRDenoiserTypeDirect: 1 + m_PVRDenoiserTypeIndirect: 1 + m_PVRDenoiserTypeAO: 1 + m_PVRFilterTypeDirect: 0 + m_PVRFilterTypeIndirect: 0 + m_PVRFilterTypeAO: 0 + m_PVREnvironmentMIS: 1 + m_PVRCulling: 1 + m_PVRFilteringGaussRadiusDirect: 1 + m_PVRFilteringGaussRadiusIndirect: 5 + m_PVRFilteringGaussRadiusAO: 2 + m_PVRFilteringAtrousPositionSigmaDirect: 0.5 + m_PVRFilteringAtrousPositionSigmaIndirect: 2 + m_PVRFilteringAtrousPositionSigmaAO: 1 + m_ExportTrainingData: 0 + m_TrainingDataDestination: TrainingData + m_LightProbeSampleCountMultiplier: 4 + m_LightingDataAsset: {fileID: 0} + m_LightingSettings: {fileID: 0} +--- !u!196 &4 +NavMeshSettings: + serializedVersion: 2 + m_ObjectHideFlags: 0 + m_BuildSettings: + serializedVersion: 3 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.4 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + buildHeightMesh: 0 + maxJobWorkers: 0 + preserveTilesOutsideBounds: 0 + debug: + m_Flags: 0 + m_NavMeshData: {fileID: 0} +--- !u!1 &1184258588 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1184258592} + - component: {fileID: 1184258591} + - component: {fileID: 1184258590} + - component: {fileID: 1184258589} + m_Layer: 0 + m_Name: Sphere + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!135 &1184258589 +SphereCollider: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1184258588} + m_Material: {fileID: 0} + m_IncludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_ExcludeLayers: + serializedVersion: 2 + m_Bits: 0 + m_LayerOverridePriority: 0 + m_IsTrigger: 0 + m_ProvidesContacts: 0 + m_Enabled: 1 + serializedVersion: 3 + m_Radius: 0.5 + m_Center: {x: 0, y: 0, z: 0} +--- !u!23 &1184258590 +MeshRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1184258588} + m_Enabled: 1 + m_CastShadows: 1 + m_ReceiveShadows: 1 + m_DynamicOccludee: 1 + m_StaticShadowCaster: 0 + m_MotionVectors: 1 + m_LightProbeUsage: 1 + m_ReflectionProbeUsage: 1 + m_RayTracingMode: 2 + m_RayTraceProcedural: 0 + m_RenderingLayerMask: 257 + m_RendererPriority: 0 + m_Materials: + - {fileID: 2100000, guid: 73c176f402d2c2f4d929aa5da7585d17, type: 2} + m_StaticBatchInfo: + firstSubMesh: 0 + subMeshCount: 0 + m_StaticBatchRoot: {fileID: 0} + m_ProbeAnchor: {fileID: 0} + m_LightProbeVolumeOverride: {fileID: 0} + m_ScaleInLightmap: 1 + m_ReceiveGI: 1 + m_PreserveUVs: 0 + m_IgnoreNormalsForChartDetection: 0 + m_ImportantGI: 0 + m_StitchLightmapSeams: 1 + m_SelectedEditorRenderState: 3 + m_MinimumChartSize: 4 + m_AutoUVMaxDistance: 0.5 + m_AutoUVMaxAngle: 89 + m_LightmapParameters: {fileID: 0} + m_SortingLayerID: 0 + m_SortingLayer: 0 + m_SortingOrder: 0 + m_AdditionalVertexStreams: {fileID: 0} +--- !u!33 &1184258591 +MeshFilter: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1184258588} + m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} +--- !u!4 &1184258592 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1184258588} + serializedVersion: 2 + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_ConstrainProportionsScale: 0 + m_Children: [] + m_Father: {fileID: 0} + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1660057539 &9223372036854775807 +SceneRoots: + m_ObjectHideFlags: 0 + m_Roots: + - {fileID: 1184258592} diff --git a/Assets/main.unity.meta b/Assets/main.unity.meta new file mode 100644 index 0000000..4b3fadf --- /dev/null +++ b/Assets/main.unity.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e131254892550804da0b9efafa94688d +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: modassets + assetBundleVariant: diff --git a/Packages/Assembly-CSharp.dll b/Packages/Assembly-CSharp.dll new file mode 100644 index 0000000..5542d54 Binary files /dev/null and b/Packages/Assembly-CSharp.dll differ diff --git a/Packages/manifest.json b/Packages/manifest.json new file mode 100644 index 0000000..0cfb3a8 --- /dev/null +++ b/Packages/manifest.json @@ -0,0 +1,47 @@ +{ + "dependencies": { + "com.unity.ai.navigation": "1.1.5", + "com.unity.animation.rigging": "1.2.1", + "com.unity.assetbundlebrowser": "https://github.com/Unity-Technologies/AssetBundles-Browser.git", + "com.unity.collab-proxy": "2.2.0", + "com.unity.feature.development": "1.0.1", + "com.unity.inputsystem": "1.7.0", + "com.unity.netcode.gameobjects": "1.5.2", + "com.unity.render-pipelines.high-definition": "14.0.8", + "com.unity.textmeshpro": "3.0.6", + "com.unity.timeline": "1.7.5", + "com.unity.ugui": "1.0.0", + "com.unity.visualscripting": "1.9.0", + "com.unity.modules.ai": "1.0.0", + "com.unity.modules.androidjni": "1.0.0", + "com.unity.modules.animation": "1.0.0", + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.cloth": "1.0.0", + "com.unity.modules.director": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.particlesystem": "1.0.0", + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.physics2d": "1.0.0", + "com.unity.modules.screencapture": "1.0.0", + "com.unity.modules.terrain": "1.0.0", + "com.unity.modules.terrainphysics": "1.0.0", + "com.unity.modules.tilemap": "1.0.0", + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.uielements": "1.0.0", + "com.unity.modules.umbra": "1.0.0", + "com.unity.modules.unityanalytics": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.unitywebrequestassetbundle": "1.0.0", + "com.unity.modules.unitywebrequestaudio": "1.0.0", + "com.unity.modules.unitywebrequesttexture": "1.0.0", + "com.unity.modules.unitywebrequestwww": "1.0.0", + "com.unity.modules.vehicles": "1.0.0", + "com.unity.modules.video": "1.0.0", + "com.unity.modules.vr": "1.0.0", + "com.unity.modules.wind": "1.0.0", + "com.unity.modules.xr": "1.0.0" + } +} diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json new file mode 100644 index 0000000..882a57c --- /dev/null +++ b/Packages/packages-lock.json @@ -0,0 +1,532 @@ +{ + "dependencies": { + "com.unity.ai.navigation": { + "version": "1.1.5", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.modules.ai": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.animation.rigging": { + "version": "1.2.1", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.burst": "1.4.1", + "com.unity.test-framework": "1.1.24" + }, + "url": "https://packages.unity.com" + }, + "com.unity.assetbundlebrowser": { + "version": "https://github.com/Unity-Technologies/AssetBundles-Browser.git", + "depth": 0, + "source": "git", + "dependencies": {}, + "hash": "ad2a81ec3068eafd48753df1825a8dd7201ce60c" + }, + "com.unity.burst": { + "version": "1.8.8", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.mathematics": "1.2.1" + }, + "url": "https://packages.unity.com" + }, + "com.unity.collab-proxy": { + "version": "2.2.0", + "depth": 0, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.collections": { + "version": "1.2.4", + "depth": 2, + "source": "registry", + "dependencies": { + "com.unity.burst": "1.6.6", + "com.unity.test-framework": "1.1.31" + }, + "url": "https://packages.unity.com" + }, + "com.unity.editorcoroutines": { + "version": "1.0.0", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.ext.nunit": { + "version": "1.0.6", + "depth": 2, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.feature.development": { + "version": "1.0.1", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.ide.visualstudio": "2.0.18", + "com.unity.ide.rider": "3.0.24", + "com.unity.ide.vscode": "1.2.5", + "com.unity.editorcoroutines": "1.0.0", + "com.unity.performance.profile-analyzer": "1.2.2", + "com.unity.test-framework": "1.1.33", + "com.unity.testtools.codecoverage": "1.2.4" + } + }, + "com.unity.ide.rider": { + "version": "3.0.24", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.ext.nunit": "1.0.6" + }, + "url": "https://packages.unity.com" + }, + "com.unity.ide.visualstudio": { + "version": "2.0.18", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.test-framework": "1.1.9" + }, + "url": "https://packages.unity.com" + }, + "com.unity.ide.vscode": { + "version": "1.2.5", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.inputsystem": { + "version": "1.7.0", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.modules.uielements": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.mathematics": { + "version": "1.2.6", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.netcode.gameobjects": { + "version": "1.5.2", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.nuget.mono-cecil": "1.10.1", + "com.unity.transport": "1.3.4" + }, + "url": "https://packages.unity.com" + }, + "com.unity.nuget.mono-cecil": { + "version": "1.11.4", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.performance.profile-analyzer": { + "version": "1.2.2", + "depth": 1, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.render-pipelines.core": { + "version": "14.0.8", + "depth": 1, + "source": "builtin", + "dependencies": { + "com.unity.ugui": "1.0.0", + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.terrain": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.render-pipelines.high-definition": { + "version": "14.0.8", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.mathematics": "1.2.4", + "com.unity.burst": "1.8.4", + "com.unity.modules.video": "1.0.0", + "com.unity.modules.animation": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0", + "com.unity.modules.terrain": "1.0.0", + "com.unity.render-pipelines.core": "14.0.8", + "com.unity.shadergraph": "14.0.8", + "com.unity.visualeffectgraph": "14.0.8", + "com.unity.render-pipelines.high-definition-config": "14.0.8" + } + }, + "com.unity.render-pipelines.high-definition-config": { + "version": "14.0.8", + "depth": 1, + "source": "builtin", + "dependencies": { + "com.unity.render-pipelines.core": "14.0.8" + } + }, + "com.unity.searcher": { + "version": "4.9.2", + "depth": 2, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.settings-manager": { + "version": "2.0.1", + "depth": 2, + "source": "registry", + "dependencies": {}, + "url": "https://packages.unity.com" + }, + "com.unity.shadergraph": { + "version": "14.0.8", + "depth": 1, + "source": "builtin", + "dependencies": { + "com.unity.render-pipelines.core": "14.0.8", + "com.unity.searcher": "4.9.2" + } + }, + "com.unity.test-framework": { + "version": "1.1.33", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.ext.nunit": "1.0.6", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.testtools.codecoverage": { + "version": "1.2.4", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.test-framework": "1.0.16", + "com.unity.settings-manager": "1.0.1" + }, + "url": "https://packages.unity.com" + }, + "com.unity.textmeshpro": { + "version": "3.0.6", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.ugui": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.timeline": { + "version": "1.7.5", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.modules.director": "1.0.0", + "com.unity.modules.animation": "1.0.0", + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.particlesystem": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.transport": { + "version": "1.3.4", + "depth": 1, + "source": "registry", + "dependencies": { + "com.unity.collections": "1.2.4", + "com.unity.burst": "1.6.6", + "com.unity.mathematics": "1.2.6" + }, + "url": "https://packages.unity.com" + }, + "com.unity.ugui": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.imgui": "1.0.0" + } + }, + "com.unity.visualeffectgraph": { + "version": "14.0.8", + "depth": 1, + "source": "builtin", + "dependencies": { + "com.unity.shadergraph": "14.0.8", + "com.unity.render-pipelines.core": "14.0.8" + } + }, + "com.unity.visualscripting": { + "version": "1.9.0", + "depth": 0, + "source": "registry", + "dependencies": { + "com.unity.ugui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + }, + "url": "https://packages.unity.com" + }, + "com.unity.modules.ai": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.androidjni": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.animation": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.assetbundle": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.audio": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.cloth": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0" + } + }, + "com.unity.modules.director": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.animation": "1.0.0" + } + }, + "com.unity.modules.imageconversion": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.imgui": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.jsonserialize": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.particlesystem": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.physics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.physics2d": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.screencapture": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.imageconversion": "1.0.0" + } + }, + "com.unity.modules.subsystems": { + "version": "1.0.0", + "depth": 1, + "source": "builtin", + "dependencies": { + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.modules.terrain": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.terrainphysics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.terrain": "1.0.0" + } + }, + "com.unity.modules.tilemap": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics2d": "1.0.0" + } + }, + "com.unity.modules.ui": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.uielements": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.imgui": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.modules.umbra": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.unityanalytics": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0" + } + }, + "com.unity.modules.unitywebrequest": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.unitywebrequestassetbundle": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0" + } + }, + "com.unity.modules.unitywebrequestaudio": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.audio": "1.0.0" + } + }, + "com.unity.modules.unitywebrequesttexture": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0" + } + }, + "com.unity.modules.unitywebrequestwww": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.unitywebrequest": "1.0.0", + "com.unity.modules.unitywebrequestassetbundle": "1.0.0", + "com.unity.modules.unitywebrequestaudio": "1.0.0", + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.assetbundle": "1.0.0", + "com.unity.modules.imageconversion": "1.0.0" + } + }, + "com.unity.modules.vehicles": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0" + } + }, + "com.unity.modules.video": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.audio": "1.0.0", + "com.unity.modules.ui": "1.0.0", + "com.unity.modules.unitywebrequest": "1.0.0" + } + }, + "com.unity.modules.vr": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.xr": "1.0.0" + } + }, + "com.unity.modules.wind": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": {} + }, + "com.unity.modules.xr": { + "version": "1.0.0", + "depth": 0, + "source": "builtin", + "dependencies": { + "com.unity.modules.physics": "1.0.0", + "com.unity.modules.jsonserialize": "1.0.0", + "com.unity.modules.subsystems": "1.0.0" + } + } + } +} diff --git a/ProjectSettings/AudioManager.asset b/ProjectSettings/AudioManager.asset new file mode 100644 index 0000000..27287fe --- /dev/null +++ b/ProjectSettings/AudioManager.asset @@ -0,0 +1,19 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!11 &1 +AudioManager: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Volume: 1 + Rolloff Scale: 1 + Doppler Factor: 1 + Default Speaker Mode: 2 + m_SampleRate: 0 + m_DSPBufferSize: 1024 + m_VirtualVoiceCount: 512 + m_RealVoiceCount: 32 + m_SpatializerPlugin: + m_AmbisonicDecoderPlugin: + m_DisableAudio: 0 + m_VirtualizeEffects: 1 + m_RequestedDSPBufferSize: 0 diff --git a/ProjectSettings/ClusterInputManager.asset b/ProjectSettings/ClusterInputManager.asset new file mode 100644 index 0000000..e7886b2 --- /dev/null +++ b/ProjectSettings/ClusterInputManager.asset @@ -0,0 +1,6 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!236 &1 +ClusterInputManager: + m_ObjectHideFlags: 0 + m_Inputs: [] diff --git a/ProjectSettings/DynamicsManager.asset b/ProjectSettings/DynamicsManager.asset new file mode 100644 index 0000000..1596c42 --- /dev/null +++ b/ProjectSettings/DynamicsManager.asset @@ -0,0 +1,36 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!55 &1 +PhysicsManager: + m_ObjectHideFlags: 0 + serializedVersion: 13 + m_Gravity: {x: 0, y: -9.81, z: 0} + m_DefaultMaterial: {fileID: 0} + m_BounceThreshold: 2 + m_SleepThreshold: 0.005 + m_DefaultContactOffset: 0.01 + m_DefaultSolverIterations: 6 + m_DefaultSolverVelocityIterations: 1 + m_QueriesHitBackfaces: 0 + m_QueriesHitTriggers: 1 + m_EnableAdaptiveForce: 0 + m_ClothInterCollisionDistance: 0.1 + m_ClothInterCollisionStiffness: 0.2 + m_ContactsGeneration: 1 + m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff + m_AutoSimulation: 1 + m_AutoSyncTransforms: 0 + m_ReuseCollisionCallbacks: 0 + m_ClothInterCollisionSettingsToggle: 0 + m_ClothGravity: {x: 0, y: -9.81, z: 0} + m_ContactPairsMode: 0 + m_BroadphaseType: 0 + m_WorldBounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 250, y: 250, z: 250} + m_WorldSubdivisions: 8 + m_FrictionType: 0 + m_EnableEnhancedDeterminism: 0 + m_EnableUnifiedHeightmaps: 1 + m_SolverType: 0 + m_DefaultMaxAngularSpeed: 50 diff --git a/ProjectSettings/EditorBuildSettings.asset b/ProjectSettings/EditorBuildSettings.asset new file mode 100644 index 0000000..e8d2334 --- /dev/null +++ b/ProjectSettings/EditorBuildSettings.asset @@ -0,0 +1,11 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1045 &1 +EditorBuildSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Scenes: + - enabled: 0 + path: Assets/OutdoorsScene.unity + guid: 8124e5870f4fd4c779e7a5f994e84ad1 + m_configObjects: {} diff --git a/ProjectSettings/EditorSettings.asset b/ProjectSettings/EditorSettings.asset new file mode 100644 index 0000000..39a108d --- /dev/null +++ b/ProjectSettings/EditorSettings.asset @@ -0,0 +1,40 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!159 &1 +EditorSettings: + m_ObjectHideFlags: 0 + serializedVersion: 11 + m_SerializationMode: 2 + m_LineEndingsForNewScripts: 2 + m_DefaultBehaviorMode: 0 + m_PrefabRegularEnvironment: {fileID: 0} + m_PrefabUIEnvironment: {fileID: 0} + m_SpritePackerMode: 0 + m_SpritePackerPaddingPower: 1 + m_EtcTextureCompressorBehavior: 1 + m_EtcTextureFastCompressor: 1 + m_EtcTextureNormalCompressor: 2 + m_EtcTextureBestCompressor: 4 + m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;asmref;rsp + m_ProjectGenerationRootNamespace: + m_EnableTextureStreamingInEditMode: 1 + m_EnableTextureStreamingInPlayMode: 1 + m_AsyncShaderCompilation: 1 + m_CachingShaderPreprocessor: 1 + m_PrefabModeAllowAutoSave: 1 + m_EnterPlayModeOptionsEnabled: 0 + m_EnterPlayModeOptions: 3 + m_GameObjectNamingDigits: 1 + m_GameObjectNamingScheme: 0 + m_AssetNamingUsesSpace: 1 + m_UseLegacyProbeSampleCount: 0 + m_SerializeInlineMappingsOnOneLine: 0 + m_DisableCookiesInLightmapper: 0 + m_AssetPipelineMode: 1 + m_CacheServerMode: 0 + m_CacheServerEndpoint: + m_CacheServerNamespacePrefix: default + m_CacheServerEnableDownload: 1 + m_CacheServerEnableUpload: 1 + m_CacheServerEnableAuth: 0 + m_CacheServerEnableTls: 0 diff --git a/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset new file mode 100644 index 0000000..bbff704 --- /dev/null +++ b/ProjectSettings/GraphicsSettings.asset @@ -0,0 +1,70 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!30 &1 +GraphicsSettings: + m_ObjectHideFlags: 0 + serializedVersion: 14 + m_Deferred: + m_Mode: 1 + m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} + m_DeferredReflections: + m_Mode: 1 + m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} + m_ScreenSpaceShadows: + m_Mode: 1 + m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} + m_LegacyDeferred: + m_Mode: 1 + m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} + m_DepthNormals: + m_Mode: 1 + m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} + m_MotionVectors: + m_Mode: 1 + m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} + m_LightHalo: + m_Mode: 1 + m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} + m_LensFlare: + m_Mode: 1 + m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} + m_VideoShadersIncludeMode: 2 + m_AlwaysIncludedShaders: + - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} + - {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0} + m_PreloadedShaders: [] + m_PreloadShadersBatchTimeLimit: -1 + m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, + type: 0} + m_CustomRenderPipeline: {fileID: 11400000, guid: b9f3086da92434da0bc1518f19f0ce86, + type: 2} + m_TransparencySortMode: 0 + m_TransparencySortAxis: {x: 0, y: 0, z: 1} + m_DefaultRenderingPath: 1 + m_DefaultMobileRenderingPath: 1 + m_TierSettings: [] + m_LightmapStripping: 0 + m_FogStripping: 0 + m_InstancingStripping: 0 + m_LightmapKeepPlain: 1 + m_LightmapKeepDirCombined: 1 + m_LightmapKeepDynamicPlain: 1 + m_LightmapKeepDynamicDirCombined: 1 + m_LightmapKeepShadowMask: 1 + m_LightmapKeepSubtractive: 1 + m_FogKeepLinear: 1 + m_FogKeepExp: 1 + m_FogKeepExp2: 1 + m_AlbedoSwatchInfos: [] + m_LightsUseLinearIntensity: 1 + m_LightsUseColorTemperature: 1 + m_DefaultRenderingLayerMask: 257 + m_LogWhenShaderIsCompiled: 0 + m_SRPDefaultSettings: + UnityEngine.Rendering.HighDefinition.HDRenderPipeline: {fileID: 11400000, guid: ac0316ca287ba459492b669ff1317a6f, + type: 2} diff --git a/ProjectSettings/HDRPProjectSettings.asset b/ProjectSettings/HDRPProjectSettings.asset new file mode 100644 index 0000000..835f46f --- /dev/null +++ b/ProjectSettings/HDRPProjectSettings.asset @@ -0,0 +1,29 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &1 +MonoBehaviour: + m_ObjectHideFlags: 61 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 63a2978a97e4fc04cb9d905947216f3d, type: 3} + m_Name: + m_EditorClassIdentifier: + m_ProjectSettingFolderPath: Settings/HDRPDefaultResources + m_WizardPopupAtStart: 1 + m_LastMaterialVersion: 13 + m_HDShaderGraphLastSeenVersion: 0 + m_PluginMaterialVersions: + m_Keys: [] + m_Values: + m_PluginSubTargetVersions: + m_Keys: [] + m_Values: + m_Version: 2 + m_ObsoleteWizardPopupAlreadyShownOnce: 1 + m_ObsoleteWizardActiveTab: 0 + m_ObsoleteWizardNeedRestartAfterChangingToDX12: 0 + m_ObsoleteWizardNeedToRunFixAllAgainAfterDomainReload: 0 diff --git a/ProjectSettings/InputManager.asset b/ProjectSettings/InputManager.asset new file mode 100644 index 0000000..b16147e --- /dev/null +++ b/ProjectSettings/InputManager.asset @@ -0,0 +1,487 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!13 &1 +InputManager: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Axes: + - serializedVersion: 3 + m_Name: Horizontal + descriptiveName: + descriptiveNegativeName: + negativeButton: left + positiveButton: right + altNegativeButton: a + altPositiveButton: d + gravity: 3 + dead: 0.001 + sensitivity: 3 + snap: 1 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Vertical + descriptiveName: + descriptiveNegativeName: + negativeButton: down + positiveButton: up + altNegativeButton: s + altPositiveButton: w + gravity: 3 + dead: 0.001 + sensitivity: 3 + snap: 1 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire1 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left ctrl + altNegativeButton: + altPositiveButton: mouse 0 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire2 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left alt + altNegativeButton: + altPositiveButton: mouse 1 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire3 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left shift + altNegativeButton: + altPositiveButton: mouse 2 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Jump + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: space + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Mouse X + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0 + sensitivity: 0.1 + snap: 0 + invert: 0 + type: 1 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Mouse Y + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0 + sensitivity: 0.1 + snap: 0 + invert: 0 + type: 1 + axis: 1 + joyNum: 0 + - serializedVersion: 3 + m_Name: Mouse ScrollWheel + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0 + sensitivity: 0.1 + snap: 0 + invert: 0 + type: 1 + axis: 2 + joyNum: 0 + - serializedVersion: 3 + m_Name: Horizontal + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0.19 + sensitivity: 1 + snap: 0 + invert: 0 + type: 2 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Vertical + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: + altNegativeButton: + altPositiveButton: + gravity: 0 + dead: 0.19 + sensitivity: 1 + snap: 0 + invert: 1 + type: 2 + axis: 1 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire1 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: joystick button 0 + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire2 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: joystick button 1 + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Fire3 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: joystick button 2 + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Jump + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: joystick button 3 + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Submit + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: return + altNegativeButton: + altPositiveButton: joystick button 0 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Submit + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: enter + altNegativeButton: + altPositiveButton: space + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Cancel + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: escape + altNegativeButton: + altPositiveButton: joystick button 1 + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Enable Debug Button 1 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left ctrl + altNegativeButton: + altPositiveButton: joystick button 8 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Enable Debug Button 2 + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: backspace + altNegativeButton: + altPositiveButton: joystick button 9 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Reset + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left alt + altNegativeButton: + altPositiveButton: joystick button 1 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Next + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: page down + altNegativeButton: + altPositiveButton: joystick button 5 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Previous + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: page up + altNegativeButton: + altPositiveButton: joystick button 4 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Validate + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: return + altNegativeButton: + altPositiveButton: joystick button 0 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Persistent + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: right shift + altNegativeButton: + altPositiveButton: joystick button 2 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Multiplier + descriptiveName: + descriptiveNegativeName: + negativeButton: + positiveButton: left shift + altNegativeButton: + altPositiveButton: joystick button 3 + gravity: 0 + dead: 0 + sensitivity: 0 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Horizontal + descriptiveName: + descriptiveNegativeName: + negativeButton: left + positiveButton: right + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Vertical + descriptiveName: + descriptiveNegativeName: + negativeButton: down + positiveButton: up + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 0 + axis: 0 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Vertical + descriptiveName: + descriptiveNegativeName: + negativeButton: down + positiveButton: up + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 2 + axis: 6 + joyNum: 0 + - serializedVersion: 3 + m_Name: Debug Horizontal + descriptiveName: + descriptiveNegativeName: + negativeButton: left + positiveButton: right + altNegativeButton: + altPositiveButton: + gravity: 1000 + dead: 0.001 + sensitivity: 1000 + snap: 0 + invert: 0 + type: 2 + axis: 5 + joyNum: 0 diff --git a/ProjectSettings/MemorySettings.asset b/ProjectSettings/MemorySettings.asset new file mode 100644 index 0000000..5b5face --- /dev/null +++ b/ProjectSettings/MemorySettings.asset @@ -0,0 +1,35 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!387306366 &1 +MemorySettings: + m_ObjectHideFlags: 0 + m_EditorMemorySettings: + m_MainAllocatorBlockSize: -1 + m_ThreadAllocatorBlockSize: -1 + m_MainGfxBlockSize: -1 + m_ThreadGfxBlockSize: -1 + m_CacheBlockSize: -1 + m_TypetreeBlockSize: -1 + m_ProfilerBlockSize: -1 + m_ProfilerEditorBlockSize: -1 + m_BucketAllocatorGranularity: -1 + m_BucketAllocatorBucketsCount: -1 + m_BucketAllocatorBlockSize: -1 + m_BucketAllocatorBlockCount: -1 + m_ProfilerBucketAllocatorGranularity: -1 + m_ProfilerBucketAllocatorBucketsCount: -1 + m_ProfilerBucketAllocatorBlockSize: -1 + m_ProfilerBucketAllocatorBlockCount: -1 + m_TempAllocatorSizeMain: -1 + m_JobTempAllocatorBlockSize: -1 + m_BackgroundJobTempAllocatorBlockSize: -1 + m_JobTempAllocatorReducedBlockSize: -1 + m_TempAllocatorSizeGIBakingWorker: -1 + m_TempAllocatorSizeNavMeshWorker: -1 + m_TempAllocatorSizeAudioWorker: -1 + m_TempAllocatorSizeCloudWorker: -1 + m_TempAllocatorSizeGfx: -1 + m_TempAllocatorSizeJobWorker: -1 + m_TempAllocatorSizeBackgroundWorker: -1 + m_TempAllocatorSizePreloadManager: -1 + m_PlatformMemorySettings: {} diff --git a/ProjectSettings/NavMeshAreas.asset b/ProjectSettings/NavMeshAreas.asset new file mode 100644 index 0000000..3b0b7c3 --- /dev/null +++ b/ProjectSettings/NavMeshAreas.asset @@ -0,0 +1,91 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!126 &1 +NavMeshProjectSettings: + m_ObjectHideFlags: 0 + serializedVersion: 2 + areas: + - name: Walkable + cost: 1 + - name: Not Walkable + cost: 1 + - name: Jump + cost: 2 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + - name: + cost: 1 + m_LastAgentTypeID: -887442657 + m_Settings: + - serializedVersion: 2 + agentTypeID: 0 + agentRadius: 0.5 + agentHeight: 2 + agentSlope: 45 + agentClimb: 0.75 + ledgeDropHeight: 0 + maxJumpAcrossDistance: 0 + minRegionArea: 2 + manualCellSize: 0 + cellSize: 0.16666667 + manualTileSize: 0 + tileSize: 256 + accuratePlacement: 0 + debug: + m_Flags: 0 + m_SettingNames: + - Humanoid diff --git a/ProjectSettings/PackageManagerSettings.asset b/ProjectSettings/PackageManagerSettings.asset new file mode 100644 index 0000000..d6b6d80 --- /dev/null +++ b/ProjectSettings/PackageManagerSettings.asset @@ -0,0 +1,35 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &1 +MonoBehaviour: + m_ObjectHideFlags: 61 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} + m_Name: + m_EditorClassIdentifier: + m_EnablePreReleasePackages: 0 + m_EnablePackageDependencies: 0 + m_AdvancedSettingsExpanded: 1 + m_ScopedRegistriesSettingsExpanded: 1 + m_SeeAllPackageVersions: 0 + oneTimeWarningShown: 0 + m_Registries: + - m_Id: main + m_Name: + m_Url: https://packages.unity.com + m_Scopes: [] + m_IsDefault: 1 + m_Capabilities: 0 + m_UserSelectedRegistryName: + m_UserAddingNewScopedRegistry: 0 + m_RegistryInfoDraft: + m_Modified: 0 + m_ErrorMessage: + m_UserModificationsInstanceId: -822 + m_OriginalInstanceId: -824 + m_LoadAssets: 0 diff --git a/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json b/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json new file mode 100644 index 0000000..3c7b4c1 --- /dev/null +++ b/ProjectSettings/Packages/com.unity.testtools.codecoverage/Settings.json @@ -0,0 +1,5 @@ +{ + "m_Dictionary": { + "m_DictionaryValues": [] + } +} \ No newline at end of file diff --git a/ProjectSettings/Physics2DSettings.asset b/ProjectSettings/Physics2DSettings.asset new file mode 100644 index 0000000..6c5cf8a --- /dev/null +++ b/ProjectSettings/Physics2DSettings.asset @@ -0,0 +1,56 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!19 &1 +Physics2DSettings: + m_ObjectHideFlags: 0 + serializedVersion: 4 + m_Gravity: {x: 0, y: -9.81} + m_DefaultMaterial: {fileID: 0} + m_VelocityIterations: 8 + m_PositionIterations: 3 + m_VelocityThreshold: 1 + m_MaxLinearCorrection: 0.2 + m_MaxAngularCorrection: 8 + m_MaxTranslationSpeed: 100 + m_MaxRotationSpeed: 360 + m_BaumgarteScale: 0.2 + m_BaumgarteTimeOfImpactScale: 0.75 + m_TimeToSleep: 0.5 + m_LinearSleepTolerance: 0.01 + m_AngularSleepTolerance: 2 + m_DefaultContactOffset: 0.01 + m_JobOptions: + serializedVersion: 2 + useMultithreading: 0 + useConsistencySorting: 0 + m_InterpolationPosesPerJob: 100 + m_NewContactsPerJob: 30 + m_CollideContactsPerJob: 100 + m_ClearFlagsPerJob: 200 + m_ClearBodyForcesPerJob: 200 + m_SyncDiscreteFixturesPerJob: 50 + m_SyncContinuousFixturesPerJob: 50 + m_FindNearestContactsPerJob: 100 + m_UpdateTriggerContactsPerJob: 100 + m_IslandSolverCostThreshold: 100 + m_IslandSolverBodyCostScale: 1 + m_IslandSolverContactCostScale: 10 + m_IslandSolverJointCostScale: 10 + m_IslandSolverBodiesPerJob: 50 + m_IslandSolverContactsPerJob: 50 + m_AutoSimulation: 1 + m_QueriesHitTriggers: 1 + m_QueriesStartInColliders: 1 + m_CallbacksOnDisable: 1 + m_ReuseCollisionCallbacks: 0 + m_AutoSyncTransforms: 0 + m_AlwaysShowColliders: 0 + m_ShowColliderSleep: 1 + m_ShowColliderContacts: 0 + m_ShowColliderAABB: 0 + m_ContactArrowScale: 0.2 + m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} + m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} + m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} + m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} + m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff diff --git a/ProjectSettings/PresetManager.asset b/ProjectSettings/PresetManager.asset new file mode 100644 index 0000000..67a94da --- /dev/null +++ b/ProjectSettings/PresetManager.asset @@ -0,0 +1,7 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!1386491679 &1 +PresetManager: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_DefaultPresets: {} diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset new file mode 100644 index 0000000..af5f5b7 --- /dev/null +++ b/ProjectSettings/ProjectSettings.asset @@ -0,0 +1,929 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!129 &1 +PlayerSettings: + m_ObjectHideFlags: 0 + serializedVersion: 26 + productGUID: c84434bbbb69e8447aea089e63860611 + AndroidProfiler: 0 + AndroidFilterTouchesWhenObscured: 0 + AndroidEnableSustainedPerformanceMode: 0 + defaultScreenOrientation: 4 + targetDevice: 2 + useOnDemandResources: 0 + accelerometerFrequency: 60 + companyName: DefaultCompany + productName: LethalModding + defaultCursor: {fileID: 0} + cursorHotspot: {x: 0, y: 0} + m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1} + m_ShowUnitySplashScreen: 1 + m_ShowUnitySplashLogo: 1 + m_SplashScreenOverlayOpacity: 1 + m_SplashScreenAnimation: 1 + m_SplashScreenLogoStyle: 1 + m_SplashScreenDrawMode: 0 + m_SplashScreenBackgroundAnimationZoom: 1 + m_SplashScreenLogoAnimationZoom: 1 + m_SplashScreenBackgroundLandscapeAspect: 1 + m_SplashScreenBackgroundPortraitAspect: 1 + m_SplashScreenBackgroundLandscapeUvs: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + m_SplashScreenBackgroundPortraitUvs: + serializedVersion: 2 + x: 0 + y: 0 + width: 1 + height: 1 + m_SplashScreenLogos: [] + m_VirtualRealitySplashScreen: {fileID: 0} + m_HolographicTrackingLossScreen: {fileID: 0} + defaultScreenWidth: 1024 + defaultScreenHeight: 768 + defaultScreenWidthWeb: 960 + defaultScreenHeightWeb: 600 + m_StereoRenderingPath: 0 + m_ActiveColorSpace: 1 + m_SpriteBatchVertexThreshold: 300 + m_MTRendering: 1 + mipStripping: 0 + numberOfMipsStripped: 0 + numberOfMipsStrippedPerMipmapLimitGroup: {} + m_StackTraceTypes: 010000000100000001000000010000000100000001000000 + iosShowActivityIndicatorOnLoading: -1 + androidShowActivityIndicatorOnLoading: -1 + iosUseCustomAppBackgroundBehavior: 0 + allowedAutorotateToPortrait: 1 + allowedAutorotateToPortraitUpsideDown: 1 + allowedAutorotateToLandscapeRight: 1 + allowedAutorotateToLandscapeLeft: 1 + useOSAutorotation: 1 + use32BitDisplayBuffer: 1 + preserveFramebufferAlpha: 0 + disableDepthAndStencilBuffers: 0 + androidStartInFullscreen: 1 + androidRenderOutsideSafeArea: 1 + androidUseSwappy: 0 + androidBlitType: 0 + androidResizableWindow: 0 + androidDefaultWindowWidth: 1920 + androidDefaultWindowHeight: 1080 + androidMinimumWindowWidth: 400 + androidMinimumWindowHeight: 300 + androidFullscreenMode: 1 + defaultIsNativeResolution: 1 + macRetinaSupport: 1 + runInBackground: 0 + captureSingleScreen: 0 + muteOtherAudioSources: 0 + Prepare IOS For Recording: 0 + Force IOS Speakers When Recording: 0 + deferSystemGesturesMode: 0 + hideHomeButton: 0 + submitAnalytics: 1 + usePlayerLog: 1 + dedicatedServerOptimizations: 0 + bakeCollisionMeshes: 0 + forceSingleInstance: 0 + useFlipModelSwapchain: 1 + resizableWindow: 0 + useMacAppStoreValidation: 0 + macAppStoreCategory: public.app-category.games + gpuSkinning: 1 + xboxPIXTextureCapture: 0 + xboxEnableAvatar: 0 + xboxEnableKinect: 0 + xboxEnableKinectAutoTracking: 0 + xboxEnableFitness: 0 + visibleInBackground: 1 + allowFullscreenSwitch: 1 + fullscreenMode: 1 + xboxSpeechDB: 0 + xboxEnableHeadOrientation: 0 + xboxEnableGuest: 0 + xboxEnablePIXSampling: 0 + metalFramebufferOnly: 0 + xboxOneResolution: 0 + xboxOneSResolution: 0 + xboxOneXResolution: 3 + xboxOneMonoLoggingLevel: 0 + xboxOneLoggingLevel: 1 + xboxOneDisableEsram: 0 + xboxOneEnableTypeOptimization: 0 + xboxOnePresentImmediateThreshold: 0 + switchQueueCommandMemory: 1048576 + switchQueueControlMemory: 16384 + switchQueueComputeMemory: 262144 + switchNVNShaderPoolsGranularity: 33554432 + switchNVNDefaultPoolsGranularity: 16777216 + switchNVNOtherPoolsGranularity: 16777216 + switchGpuScratchPoolGranularity: 2097152 + switchAllowGpuScratchShrinking: 0 + switchNVNMaxPublicTextureIDCount: 0 + switchNVNMaxPublicSamplerIDCount: 0 + switchNVNGraphicsFirmwareMemory: 32 + switchMaxWorkerMultiple: 8 + stadiaPresentMode: 0 + stadiaTargetFramerate: 0 + vulkanNumSwapchainBuffers: 3 + vulkanEnableSetSRGBWrite: 0 + vulkanEnablePreTransform: 0 + vulkanEnableLateAcquireNextImage: 0 + vulkanEnableCommandBufferRecycling: 1 + loadStoreDebugModeEnabled: 0 + bundleVersion: 0.1.0 + preloadedAssets: [] + metroInputSource: 0 + wsaTransparentSwapchain: 0 + m_HolographicPauseOnTrackingLoss: 1 + xboxOneDisableKinectGpuReservation: 1 + xboxOneEnable7thCore: 1 + vrSettings: + enable360StereoCapture: 0 + isWsaHolographicRemotingEnabled: 0 + enableFrameTimingStats: 0 + enableOpenGLProfilerGPURecorders: 1 + useHDRDisplay: 0 + hdrBitDepth: 0 + m_ColorGamuts: 00000000 + targetPixelDensity: 30 + resolutionScalingMode: 0 + resetResolutionOnWindowResize: 0 + androidSupportedAspectRatio: 1 + androidMaxAspectRatio: 2.1 + applicationIdentifier: + Standalone: com.Unity-Technologies.com.unity.template.hdrp-blank + buildNumber: + Standalone: 0 + VisionOS: 0 + iPhone: 0 + tvOS: 0 + overrideDefaultApplicationIdentifier: 1 + AndroidBundleVersionCode: 1 + AndroidMinSdkVersion: 22 + AndroidTargetSdkVersion: 0 + AndroidPreferredInstallLocation: 1 + aotOptions: + stripEngineCode: 1 + iPhoneStrippingLevel: 0 + iPhoneScriptCallOptimization: 0 + ForceInternetPermission: 0 + ForceSDCardPermission: 0 + CreateWallpaper: 0 + APKExpansionFiles: 0 + keepLoadedShadersAlive: 0 + StripUnusedMeshComponents: 0 + strictShaderVariantMatching: 0 + VertexChannelCompressionMask: 4054 + iPhoneSdkVersion: 988 + iOSTargetOSVersionString: 12.0 + tvOSSdkVersion: 0 + tvOSRequireExtendedGameController: 0 + tvOSTargetOSVersionString: 12.0 + VisionOSSdkVersion: 0 + VisionOSTargetOSVersionString: 1.0 + uIPrerenderedIcon: 0 + uIRequiresPersistentWiFi: 0 + uIRequiresFullScreen: 1 + uIStatusBarHidden: 1 + uIExitOnSuspend: 0 + uIStatusBarStyle: 0 + appleTVSplashScreen: {fileID: 0} + appleTVSplashScreen2x: {fileID: 0} + tvOSSmallIconLayers: [] + tvOSSmallIconLayers2x: [] + tvOSLargeIconLayers: [] + tvOSLargeIconLayers2x: [] + tvOSTopShelfImageLayers: [] + tvOSTopShelfImageLayers2x: [] + tvOSTopShelfImageWideLayers: [] + tvOSTopShelfImageWideLayers2x: [] + iOSLaunchScreenType: 0 + iOSLaunchScreenPortrait: {fileID: 0} + iOSLaunchScreenLandscape: {fileID: 0} + iOSLaunchScreenBackgroundColor: + serializedVersion: 2 + rgba: 0 + iOSLaunchScreenFillPct: 100 + iOSLaunchScreenSize: 100 + iOSLaunchScreenCustomXibPath: + iOSLaunchScreeniPadType: 0 + iOSLaunchScreeniPadImage: {fileID: 0} + iOSLaunchScreeniPadBackgroundColor: + serializedVersion: 2 + rgba: 0 + iOSLaunchScreeniPadFillPct: 100 + iOSLaunchScreeniPadSize: 100 + iOSLaunchScreeniPadCustomXibPath: + iOSLaunchScreenCustomStoryboardPath: + iOSLaunchScreeniPadCustomStoryboardPath: + iOSDeviceRequirements: [] + iOSURLSchemes: [] + macOSURLSchemes: [] + iOSBackgroundModes: 0 + iOSMetalForceHardShadows: 0 + metalEditorSupport: 1 + metalAPIValidation: 1 + iOSRenderExtraFrameOnPause: 0 + iosCopyPluginsCodeInsteadOfSymlink: 0 + appleDeveloperTeamID: + iOSManualSigningProvisioningProfileID: + tvOSManualSigningProvisioningProfileID: + VisionOSManualSigningProvisioningProfileID: + iOSManualSigningProvisioningProfileType: 0 + tvOSManualSigningProvisioningProfileType: 0 + VisionOSManualSigningProvisioningProfileType: 0 + appleEnableAutomaticSigning: 0 + iOSRequireARKit: 0 + iOSAutomaticallyDetectAndAddCapabilities: 1 + appleEnableProMotion: 0 + shaderPrecisionModel: 0 + clonedFromGUID: c71a6e77368cc6048998f34f4bbe2b86 + templatePackageId: com.unity.template.hdrp-blank@14.0.3 + templateDefaultScene: Assets/OutdoorsScene.unity + useCustomMainManifest: 0 + useCustomLauncherManifest: 0 + useCustomMainGradleTemplate: 0 + useCustomLauncherGradleManifest: 0 + useCustomBaseGradleTemplate: 0 + useCustomGradlePropertiesTemplate: 0 + useCustomGradleSettingsTemplate: 0 + useCustomProguardFile: 0 + AndroidTargetArchitectures: 1 + AndroidTargetDevices: 0 + AndroidSplashScreenScale: 0 + androidSplashScreen: {fileID: 0} + AndroidKeystoreName: + AndroidKeyaliasName: + AndroidEnableArmv9SecurityFeatures: 0 + AndroidBuildApkPerCpuArchitecture: 0 + AndroidTVCompatibility: 0 + AndroidIsGame: 1 + AndroidEnableTango: 0 + androidEnableBanner: 1 + androidUseLowAccuracyLocation: 0 + androidUseCustomKeystore: 0 + m_AndroidBanners: + - width: 320 + height: 180 + banner: {fileID: 0} + androidGamepadSupportLevel: 0 + chromeosInputEmulation: 1 + AndroidMinifyRelease: 0 + AndroidMinifyDebug: 0 + AndroidValidateAppBundleSize: 1 + AndroidAppBundleSizeToValidate: 150 + m_BuildTargetIcons: [] + m_BuildTargetPlatformIcons: + - m_BuildTarget: iPhone + m_Icons: + - m_Textures: [] + m_Width: 180 + m_Height: 180 + m_Kind: 0 + m_SubKind: iPhone + - m_Textures: [] + m_Width: 120 + m_Height: 120 + m_Kind: 0 + m_SubKind: iPhone + - m_Textures: [] + m_Width: 167 + m_Height: 167 + m_Kind: 0 + m_SubKind: iPad + - m_Textures: [] + m_Width: 152 + m_Height: 152 + m_Kind: 0 + m_SubKind: iPad + - m_Textures: [] + m_Width: 76 + m_Height: 76 + m_Kind: 0 + m_SubKind: iPad + - m_Textures: [] + m_Width: 120 + m_Height: 120 + m_Kind: 3 + m_SubKind: iPhone + - m_Textures: [] + m_Width: 80 + m_Height: 80 + m_Kind: 3 + m_SubKind: iPhone + - m_Textures: [] + m_Width: 80 + m_Height: 80 + m_Kind: 3 + m_SubKind: iPad + - m_Textures: [] + m_Width: 40 + m_Height: 40 + m_Kind: 3 + m_SubKind: iPad + - m_Textures: [] + m_Width: 87 + m_Height: 87 + m_Kind: 1 + m_SubKind: iPhone + - m_Textures: [] + m_Width: 58 + m_Height: 58 + m_Kind: 1 + m_SubKind: iPhone + - m_Textures: [] + m_Width: 29 + m_Height: 29 + m_Kind: 1 + m_SubKind: iPhone + - m_Textures: [] + m_Width: 58 + m_Height: 58 + m_Kind: 1 + m_SubKind: iPad + - m_Textures: [] + m_Width: 29 + m_Height: 29 + m_Kind: 1 + m_SubKind: iPad + - m_Textures: [] + m_Width: 60 + m_Height: 60 + m_Kind: 2 + m_SubKind: iPhone + - m_Textures: [] + m_Width: 40 + m_Height: 40 + m_Kind: 2 + m_SubKind: iPhone + - m_Textures: [] + m_Width: 40 + m_Height: 40 + m_Kind: 2 + m_SubKind: iPad + - m_Textures: [] + m_Width: 20 + m_Height: 20 + m_Kind: 2 + m_SubKind: iPad + - m_Textures: [] + m_Width: 1024 + m_Height: 1024 + m_Kind: 4 + m_SubKind: App Store + - m_BuildTarget: Android + m_Icons: + - m_Textures: [] + m_Width: 432 + m_Height: 432 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 324 + m_Height: 324 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 216 + m_Height: 216 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 162 + m_Height: 162 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 108 + m_Height: 108 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 81 + m_Height: 81 + m_Kind: 2 + m_SubKind: + - m_Textures: [] + m_Width: 192 + m_Height: 192 + m_Kind: 1 + m_SubKind: + - m_Textures: [] + m_Width: 144 + m_Height: 144 + m_Kind: 1 + m_SubKind: + - m_Textures: [] + m_Width: 96 + m_Height: 96 + m_Kind: 1 + m_SubKind: + - m_Textures: [] + m_Width: 72 + m_Height: 72 + m_Kind: 1 + m_SubKind: + - m_Textures: [] + m_Width: 48 + m_Height: 48 + m_Kind: 1 + m_SubKind: + - m_Textures: [] + m_Width: 36 + m_Height: 36 + m_Kind: 1 + m_SubKind: + - m_Textures: [] + m_Width: 192 + m_Height: 192 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 144 + m_Height: 144 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 96 + m_Height: 96 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 72 + m_Height: 72 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 48 + m_Height: 48 + m_Kind: 0 + m_SubKind: + - m_Textures: [] + m_Width: 36 + m_Height: 36 + m_Kind: 0 + m_SubKind: + m_BuildTargetBatching: + - m_BuildTarget: Standalone + m_StaticBatching: 1 + m_DynamicBatching: 0 + m_BuildTargetShaderSettings: [] + m_BuildTargetGraphicsJobs: + - m_BuildTarget: MacStandaloneSupport + m_GraphicsJobs: 0 + - m_BuildTarget: Switch + m_GraphicsJobs: 1 + - m_BuildTarget: MetroSupport + m_GraphicsJobs: 1 + - m_BuildTarget: AppleTVSupport + m_GraphicsJobs: 0 + - m_BuildTarget: BJMSupport + m_GraphicsJobs: 1 + - m_BuildTarget: LinuxStandaloneSupport + m_GraphicsJobs: 1 + - m_BuildTarget: PS4Player + m_GraphicsJobs: 1 + - m_BuildTarget: iOSSupport + m_GraphicsJobs: 0 + - m_BuildTarget: WindowsStandaloneSupport + m_GraphicsJobs: 1 + - m_BuildTarget: XboxOnePlayer + m_GraphicsJobs: 1 + - m_BuildTarget: LuminSupport + m_GraphicsJobs: 0 + - m_BuildTarget: AndroidPlayer + m_GraphicsJobs: 0 + - m_BuildTarget: WebGLSupport + m_GraphicsJobs: 0 + m_BuildTargetGraphicsJobMode: [] + m_BuildTargetGraphicsAPIs: + - m_BuildTarget: LinuxStandaloneSupport + m_APIs: 15000000 + m_Automatic: 0 + - m_BuildTarget: MacStandaloneSupport + m_APIs: 10000000 + m_Automatic: 0 + - m_BuildTarget: WindowsStandaloneSupport + m_APIs: 02000000 + m_Automatic: 1 + - m_BuildTarget: iOSSupport + m_APIs: 10000000 + m_Automatic: 1 + - m_BuildTarget: AndroidPlayer + m_APIs: 0b00000008000000 + m_Automatic: 0 + m_BuildTargetVRSettings: [] + m_DefaultShaderChunkSizeInMB: 16 + m_DefaultShaderChunkCount: 0 + openGLRequireES31: 0 + openGLRequireES31AEP: 0 + openGLRequireES32: 0 + m_TemplateCustomTags: {} + mobileMTRendering: + Android: 1 + iPhone: 1 + tvOS: 1 + m_BuildTargetGroupLightmapEncodingQuality: + - m_BuildTarget: Standalone + m_EncodingQuality: 2 + - m_BuildTarget: Android + m_EncodingQuality: 2 + - m_BuildTarget: Lumin + m_EncodingQuality: 2 + - m_BuildTarget: Windows Store Apps + m_EncodingQuality: 2 + m_BuildTargetGroupHDRCubemapEncodingQuality: + - m_BuildTarget: Standalone + m_EncodingQuality: 2 + - m_BuildTarget: Android + m_EncodingQuality: 2 + - m_BuildTarget: Lumin + m_EncodingQuality: 1 + - m_BuildTarget: Windows Store Apps + m_EncodingQuality: 2 + m_BuildTargetGroupLightmapSettings: [] + m_BuildTargetGroupLoadStoreDebugModeSettings: [] + m_BuildTargetNormalMapEncoding: [] + m_BuildTargetDefaultTextureCompressionFormat: [] + playModeTestRunnerEnabled: 0 + runPlayModeTestAsEditModeTest: 0 + actionOnDotNetUnhandledException: 1 + enableInternalProfiler: 0 + logObjCUncaughtExceptions: 1 + enableCrashReportAPI: 0 + cameraUsageDescription: + locationUsageDescription: + microphoneUsageDescription: + bluetoothUsageDescription: + macOSTargetOSVersion: 10.13.0 + switchNMETAOverride: + switchNetLibKey: + switchSocketMemoryPoolSize: 6144 + switchSocketAllocatorPoolSize: 128 + switchSocketConcurrencyLimit: 14 + switchScreenResolutionBehavior: 2 + switchUseCPUProfiler: 0 + switchUseGOLDLinker: 0 + switchLTOSetting: 0 + switchApplicationID: 0x01004b9000490000 + switchNSODependencies: + switchCompilerFlags: + switchTitleNames_0: + switchTitleNames_1: + switchTitleNames_2: + switchTitleNames_3: + switchTitleNames_4: + switchTitleNames_5: + switchTitleNames_6: + switchTitleNames_7: + switchTitleNames_8: + switchTitleNames_9: + switchTitleNames_10: + switchTitleNames_11: + switchTitleNames_12: + switchTitleNames_13: + switchTitleNames_14: + switchTitleNames_15: + switchPublisherNames_0: + switchPublisherNames_1: + switchPublisherNames_2: + switchPublisherNames_3: + switchPublisherNames_4: + switchPublisherNames_5: + switchPublisherNames_6: + switchPublisherNames_7: + switchPublisherNames_8: + switchPublisherNames_9: + switchPublisherNames_10: + switchPublisherNames_11: + switchPublisherNames_12: + switchPublisherNames_13: + switchPublisherNames_14: + switchPublisherNames_15: + switchIcons_0: {fileID: 0} + switchIcons_1: {fileID: 0} + switchIcons_2: {fileID: 0} + switchIcons_3: {fileID: 0} + switchIcons_4: {fileID: 0} + switchIcons_5: {fileID: 0} + switchIcons_6: {fileID: 0} + switchIcons_7: {fileID: 0} + switchIcons_8: {fileID: 0} + switchIcons_9: {fileID: 0} + switchIcons_10: {fileID: 0} + switchIcons_11: {fileID: 0} + switchIcons_12: {fileID: 0} + switchIcons_13: {fileID: 0} + switchIcons_14: {fileID: 0} + switchIcons_15: {fileID: 0} + switchSmallIcons_0: {fileID: 0} + switchSmallIcons_1: {fileID: 0} + switchSmallIcons_2: {fileID: 0} + switchSmallIcons_3: {fileID: 0} + switchSmallIcons_4: {fileID: 0} + switchSmallIcons_5: {fileID: 0} + switchSmallIcons_6: {fileID: 0} + switchSmallIcons_7: {fileID: 0} + switchSmallIcons_8: {fileID: 0} + switchSmallIcons_9: {fileID: 0} + switchSmallIcons_10: {fileID: 0} + switchSmallIcons_11: {fileID: 0} + switchSmallIcons_12: {fileID: 0} + switchSmallIcons_13: {fileID: 0} + switchSmallIcons_14: {fileID: 0} + switchSmallIcons_15: {fileID: 0} + switchManualHTML: + switchAccessibleURLs: + switchLegalInformation: + switchMainThreadStackSize: 1048576 + switchPresenceGroupId: + switchLogoHandling: 0 + switchReleaseVersion: 0 + switchDisplayVersion: 1.0.0 + switchStartupUserAccount: 0 + switchSupportedLanguagesMask: 0 + switchLogoType: 0 + switchApplicationErrorCodeCategory: + switchUserAccountSaveDataSize: 0 + switchUserAccountSaveDataJournalSize: 0 + switchApplicationAttribute: 0 + switchCardSpecSize: -1 + switchCardSpecClock: -1 + switchRatingsMask: 0 + switchRatingsInt_0: 0 + switchRatingsInt_1: 0 + switchRatingsInt_2: 0 + switchRatingsInt_3: 0 + switchRatingsInt_4: 0 + switchRatingsInt_5: 0 + switchRatingsInt_6: 0 + switchRatingsInt_7: 0 + switchRatingsInt_8: 0 + switchRatingsInt_9: 0 + switchRatingsInt_10: 0 + switchRatingsInt_11: 0 + switchRatingsInt_12: 0 + switchLocalCommunicationIds_0: + switchLocalCommunicationIds_1: + switchLocalCommunicationIds_2: + switchLocalCommunicationIds_3: + switchLocalCommunicationIds_4: + switchLocalCommunicationIds_5: + switchLocalCommunicationIds_6: + switchLocalCommunicationIds_7: + switchParentalControl: 0 + switchAllowsScreenshot: 1 + switchAllowsVideoCapturing: 1 + switchAllowsRuntimeAddOnContentInstall: 0 + switchDataLossConfirmation: 0 + switchUserAccountLockEnabled: 0 + switchSystemResourceMemory: 16777216 + switchSupportedNpadStyles: 22 + switchNativeFsCacheSize: 32 + switchIsHoldTypeHorizontal: 0 + switchSupportedNpadCount: 8 + switchEnableTouchScreen: 1 + switchSocketConfigEnabled: 0 + switchTcpInitialSendBufferSize: 32 + switchTcpInitialReceiveBufferSize: 64 + switchTcpAutoSendBufferSizeMax: 256 + switchTcpAutoReceiveBufferSizeMax: 256 + switchUdpSendBufferSize: 9 + switchUdpReceiveBufferSize: 42 + switchSocketBufferEfficiency: 4 + switchSocketInitializeEnabled: 1 + switchNetworkInterfaceManagerInitializeEnabled: 1 + switchPlayerConnectionEnabled: 1 + switchUseNewStyleFilepaths: 0 + switchUseLegacyFmodPriorities: 0 + switchUseMicroSleepForYield: 1 + switchEnableRamDiskSupport: 0 + switchMicroSleepForYieldTime: 25 + switchRamDiskSpaceSize: 12 + ps4NPAgeRating: 12 + ps4NPTitleSecret: + ps4NPTrophyPackPath: + ps4ParentalLevel: 11 + ps4ContentID: ED1633-NPXX51362_00-0000000000000000 + ps4Category: 0 + ps4MasterVersion: 01.00 + ps4AppVersion: 01.00 + ps4AppType: 0 + ps4ParamSfxPath: + ps4VideoOutPixelFormat: 0 + ps4VideoOutInitialWidth: 1920 + ps4VideoOutBaseModeInitialWidth: 1920 + ps4VideoOutReprojectionRate: 60 + ps4PronunciationXMLPath: + ps4PronunciationSIGPath: + ps4BackgroundImagePath: + ps4StartupImagePath: + ps4StartupImagesFolder: + ps4IconImagesFolder: + ps4SaveDataImagePath: + ps4SdkOverride: + ps4BGMPath: + ps4ShareFilePath: + ps4ShareOverlayImagePath: + ps4PrivacyGuardImagePath: + ps4ExtraSceSysFile: + ps4NPtitleDatPath: + ps4RemotePlayKeyAssignment: -1 + ps4RemotePlayKeyMappingDir: + ps4PlayTogetherPlayerCount: 0 + ps4EnterButtonAssignment: 2 + ps4ApplicationParam1: 0 + ps4ApplicationParam2: 0 + ps4ApplicationParam3: 0 + ps4ApplicationParam4: 0 + ps4DownloadDataSize: 0 + ps4GarlicHeapSize: 2048 + ps4ProGarlicHeapSize: 2560 + playerPrefsMaxSize: 32768 + ps4Passcode: frAQBc8Wsa1xVPfvJcrgRYwTiizs2trQ + ps4pnSessions: 1 + ps4pnPresence: 1 + ps4pnFriends: 1 + ps4pnGameCustomData: 1 + playerPrefsSupport: 0 + enableApplicationExit: 0 + resetTempFolder: 1 + restrictedAudioUsageRights: 0 + ps4UseResolutionFallback: 0 + ps4ReprojectionSupport: 0 + ps4UseAudio3dBackend: 0 + ps4UseLowGarlicFragmentationMode: 1 + ps4SocialScreenEnabled: 0 + ps4ScriptOptimizationLevel: 2 + ps4Audio3dVirtualSpeakerCount: 14 + ps4attribCpuUsage: 0 + ps4PatchPkgPath: + ps4PatchLatestPkgPath: + ps4PatchChangeinfoPath: + ps4PatchDayOne: 0 + ps4attribUserManagement: 0 + ps4attribMoveSupport: 0 + ps4attrib3DSupport: 0 + ps4attribShareSupport: 0 + ps4attribExclusiveVR: 0 + ps4disableAutoHideSplash: 0 + ps4videoRecordingFeaturesUsed: 0 + ps4contentSearchFeaturesUsed: 0 + ps4CompatibilityPS5: 0 + ps4AllowPS5Detection: 0 + ps4GPU800MHz: 1 + ps4attribEyeToEyeDistanceSettingVR: 0 + ps4IncludedModules: [] + ps4attribVROutputEnabled: 0 + monoEnv: + splashScreenBackgroundSourceLandscape: {fileID: 0} + splashScreenBackgroundSourcePortrait: {fileID: 0} + blurSplashScreenBackground: 1 + spritePackerPolicy: + webGLMemorySize: 32 + webGLExceptionSupport: 1 + webGLNameFilesAsHashes: 0 + webGLShowDiagnostics: 0 + webGLDataCaching: 1 + webGLDebugSymbols: 0 + webGLEmscriptenArgs: + webGLModulesDirectory: + webGLTemplate: APPLICATION:Default + webGLAnalyzeBuildSize: 0 + webGLUseEmbeddedResources: 0 + webGLCompressionFormat: 0 + webGLWasmArithmeticExceptions: 0 + webGLLinkerTarget: 1 + webGLThreadsSupport: 0 + webGLDecompressionFallback: 0 + webGLInitialMemorySize: 32 + webGLMaximumMemorySize: 2048 + webGLMemoryGrowthMode: 2 + webGLMemoryLinearGrowthStep: 16 + webGLMemoryGeometricGrowthStep: 0.2 + webGLMemoryGeometricGrowthCap: 96 + webGLPowerPreference: 2 + scriptingDefineSymbols: {} + additionalCompilerArguments: {} + platformArchitecture: {} + scriptingBackend: {} + il2cppCompilerConfiguration: {} + il2cppCodeGeneration: {} + managedStrippingLevel: + EmbeddedLinux: 1 + GameCoreScarlett: 1 + GameCoreXboxOne: 1 + Nintendo Switch: 1 + PS4: 1 + PS5: 1 + QNX: 1 + Stadia: 1 + VisionOS: 1 + WebGL: 1 + Windows Store Apps: 1 + XboxOne: 1 + iPhone: 1 + tvOS: 1 + incrementalIl2cppBuild: {} + suppressCommonWarnings: 1 + allowUnsafeCode: 1 + useDeterministicCompilation: 1 + additionalIl2CppArgs: + scriptingRuntimeVersion: 1 + gcIncremental: 0 + gcWBarrierValidation: 0 + apiCompatibilityLevelPerPlatform: {} + m_RenderingPath: 1 + m_MobileRenderingPath: 1 + metroPackageName: LethalModding + metroPackageVersion: + metroCertificatePath: + metroCertificatePassword: + metroCertificateSubject: + metroCertificateIssuer: + metroCertificateNotAfter: 0000000000000000 + metroApplicationDescription: LethalModding + wsaImages: {} + metroTileShortName: + metroTileShowName: 0 + metroMediumTileShowName: 0 + metroLargeTileShowName: 0 + metroWideTileShowName: 0 + metroSupportStreamingInstall: 0 + metroLastRequiredScene: 0 + metroDefaultTileSize: 1 + metroTileForegroundText: 2 + metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0} + metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, + a: 1} + metroSplashScreenUseBackgroundColor: 0 + platformCapabilities: {} + metroTargetDeviceFamilies: {} + metroFTAName: + metroFTAFileTypes: [] + metroProtocolName: + vcxProjDefaultLanguage: + XboxOneProductId: + XboxOneUpdateKey: + XboxOneSandboxId: + XboxOneContentId: + XboxOneTitleId: + XboxOneSCId: + XboxOneGameOsOverridePath: + XboxOnePackagingOverridePath: + XboxOneAppManifestOverridePath: + XboxOneVersion: 1.0.0.0 + XboxOnePackageEncryption: 0 + XboxOnePackageUpdateGranularity: 2 + XboxOneDescription: + XboxOneLanguage: + - enus + XboxOneCapability: [] + XboxOneGameRating: {} + XboxOneIsContentPackage: 0 + XboxOneEnhancedXboxCompatibilityMode: 0 + XboxOneEnableGPUVariability: 1 + XboxOneSockets: {} + XboxOneSplashScreen: {fileID: 0} + XboxOneAllowedProductIds: [] + XboxOnePersistentLocalStorageSize: 0 + XboxOneXTitleMemory: 8 + XboxOneOverrideIdentityName: + XboxOneOverrideIdentityPublisher: + vrEditorSettings: {} + cloudServicesEnabled: {} + luminIcon: + m_Name: + m_ModelFolderPath: + m_PortalFolderPath: + luminCert: + m_CertPath: + m_SignPackage: 1 + luminIsChannelApp: 0 + luminVersion: + m_VersionCode: 1 + m_VersionName: + hmiPlayerDataPath: + hmiForceSRGBBlit: 1 + embeddedLinuxEnableGamepadInput: 1 + hmiLogStartupTiming: 0 + hmiCpuConfiguration: + apiCompatibilityLevel: 6 + activeInputHandler: 2 + windowsGamepadBackendHint: 0 + cloudProjectId: + framebufferDepthMemorylessMode: 0 + qualitySettingsNames: [] + projectName: + organizationId: + cloudEnabled: 0 + legacyClampBlendShapeWeights: 0 + hmiLoadingImage: {fileID: 0} + platformRequiresReadableAssets: 0 + virtualTexturingSupportEnabled: 0 + insecureHttpOption: 0 diff --git a/ProjectSettings/ProjectVersion.txt b/ProjectSettings/ProjectVersion.txt new file mode 100644 index 0000000..a74c35f --- /dev/null +++ b/ProjectSettings/ProjectVersion.txt @@ -0,0 +1,2 @@ +m_EditorVersion: 2022.3.9f1 +m_EditorVersionWithRevision: 2022.3.9f1 (ea401c316338) diff --git a/ProjectSettings/QualitySettings.asset b/ProjectSettings/QualitySettings.asset new file mode 100644 index 0000000..a89cc22 --- /dev/null +++ b/ProjectSettings/QualitySettings.asset @@ -0,0 +1,133 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!47 &1 +QualitySettings: + m_ObjectHideFlags: 0 + serializedVersion: 5 + m_CurrentQuality: 0 + m_QualitySettings: + - serializedVersion: 2 + name: High Fidelity + pixelLightCount: 0 + shadows: 2 + shadowResolution: 0 + shadowProjection: 1 + shadowCascades: 1 + shadowDistance: 15 + shadowNearPlaneOffset: 3 + shadowCascade2Split: 0.33333334 + shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} + shadowmaskMode: 1 + skinWeights: 255 + textureQuality: 0 + anisotropicTextures: 2 + antiAliasing: 0 + softParticles: 0 + softVegetation: 0 + realtimeReflectionProbes: 0 + billboardsFaceCameraPosition: 1 + vSyncCount: 1 + lodBias: 1 + maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 + particleRaycastBudget: 256 + asyncUploadTimeSlice: 2 + asyncUploadBufferSize: 16 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + customRenderPipeline: {fileID: 11400000, guid: 36dd385e759c96147b6463dcd1149c11, + type: 2} + excludedTargetPlatforms: [] + - serializedVersion: 2 + name: Balanced + pixelLightCount: 0 + shadows: 2 + shadowResolution: 0 + shadowProjection: 1 + shadowCascades: 1 + shadowDistance: 15 + shadowNearPlaneOffset: 3 + shadowCascade2Split: 0.33333334 + shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} + shadowmaskMode: 1 + skinWeights: 255 + textureQuality: 0 + anisotropicTextures: 2 + antiAliasing: 0 + softParticles: 0 + softVegetation: 0 + realtimeReflectionProbes: 0 + billboardsFaceCameraPosition: 1 + vSyncCount: 1 + lodBias: 1 + maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 + particleRaycastBudget: 256 + asyncUploadTimeSlice: 2 + asyncUploadBufferSize: 16 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + customRenderPipeline: {fileID: 11400000, guid: 3e2e6bfc59709614ab90c0cd7d755e48, + type: 2} + excludedTargetPlatforms: [] + - serializedVersion: 2 + name: Performant + pixelLightCount: 0 + shadows: 2 + shadowResolution: 0 + shadowProjection: 1 + shadowCascades: 1 + shadowDistance: 15 + shadowNearPlaneOffset: 3 + shadowCascade2Split: 0.33333334 + shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} + shadowmaskMode: 1 + skinWeights: 255 + textureQuality: 0 + anisotropicTextures: 2 + antiAliasing: 0 + softParticles: 0 + softVegetation: 0 + realtimeReflectionProbes: 0 + billboardsFaceCameraPosition: 1 + vSyncCount: 1 + lodBias: 1 + maximumLODLevel: 0 + streamingMipmapsActive: 0 + streamingMipmapsAddAllCameras: 1 + streamingMipmapsMemoryBudget: 512 + streamingMipmapsRenderersPerFrame: 512 + streamingMipmapsMaxLevelReduction: 2 + streamingMipmapsMaxFileIORequests: 1024 + particleRaycastBudget: 256 + asyncUploadTimeSlice: 2 + asyncUploadBufferSize: 16 + asyncUploadPersistentBuffer: 1 + resolutionScalingFixedDPIFactor: 1 + customRenderPipeline: {fileID: 11400000, guid: 168a2336534e4e043b2a210b6f8d379a, + type: 2} + excludedTargetPlatforms: [] + m_PerPlatformDefaultQuality: + Android: 0 + CloudRendering: 0 + Lumin: 0 + Nintendo Switch: 0 + PS4: 0 + Server: 0 + Stadia: 0 + Standalone: 0 + WebGL: 0 + Windows Store Apps: 0 + XboxOne: 0 + iPhone: 0 + tvOS: 0 diff --git a/ProjectSettings/SceneTemplateSettings.json b/ProjectSettings/SceneTemplateSettings.json new file mode 100644 index 0000000..6f3e60f --- /dev/null +++ b/ProjectSettings/SceneTemplateSettings.json @@ -0,0 +1,167 @@ +{ + "templatePinStates": [], + "dependencyTypeInfos": [ + { + "userAdded": false, + "type": "UnityEngine.AnimationClip", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.Animations.AnimatorController", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.AnimatorOverrideController", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.Audio.AudioMixerController", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.ComputeShader", + "ignore": true, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Cubemap", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.GameObject", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.LightingDataAsset", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": false + }, + { + "userAdded": false, + "type": "UnityEngine.LightingSettings", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Material", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.MonoScript", + "ignore": true, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.PhysicMaterial", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.PhysicsMaterial2D", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Rendering.PostProcessing.PostProcessResources", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Rendering.VolumeProfile", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEditor.SceneAsset", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": false + }, + { + "userAdded": false, + "type": "UnityEngine.Shader", + "ignore": true, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.ShaderVariantCollection", + "ignore": true, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Texture", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Texture2D", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + }, + { + "userAdded": false, + "type": "UnityEngine.Timeline.TimelineAsset", + "ignore": false, + "defaultInstantiationMode": 0, + "supportsModification": true + } + ], + "defaultDependencyTypeInfo": { + "userAdded": false, + "type": "", + "ignore": false, + "defaultInstantiationMode": 1, + "supportsModification": true + }, + "newSceneOverride": 0 +} \ No newline at end of file diff --git a/ProjectSettings/ShaderGraphSettings.asset b/ProjectSettings/ShaderGraphSettings.asset new file mode 100644 index 0000000..9b28428 --- /dev/null +++ b/ProjectSettings/ShaderGraphSettings.asset @@ -0,0 +1,16 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &1 +MonoBehaviour: + m_ObjectHideFlags: 61 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 0} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: de02f9e1d18f588468e474319d09a723, type: 3} + m_Name: + m_EditorClassIdentifier: + customInterpolatorErrorThreshold: 32 + customInterpolatorWarningThreshold: 16 diff --git a/ProjectSettings/TagManager.asset b/ProjectSettings/TagManager.asset new file mode 100644 index 0000000..23199a9 --- /dev/null +++ b/ProjectSettings/TagManager.asset @@ -0,0 +1,85 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!78 &1 +TagManager: + serializedVersion: 2 + tags: + - PhysicsProp + - InteractTrigger + - Catwalk + - PlayerVoice + - Bush + - Metal + - Concrete + - PoweredLight + - Battery + - BatteryPack + - PoweredLightsContainer + - Carpet + - MapCamera + - DungeonGenerator + - AnomalySpawn + - AnomalyObject + - MapProp + - EnemySpawn + - Puddle + - Gravel + - AINode + - EntranceA + - ScrapSpawn + - Aluminum + - MapPropsContainer + - PlayerRagdoll + - OutsideMeshes + - OutsideAINode + - Enemy + - DoNotSet + - GameOverCameraHandle + - Tiles + - Wood + - Snow + - Grass + - TemporaryEffect + - OutsideLevelNavMesh + - ItemShipLandingNode + - PoweredObject + - Rock + - PlaceableObject + - SpawnDenialPoint + layers: + - Default + - TransparentFX + - Ignore Raycast + - Player + - Water + - UI + - Props + - HelmetVisor + - Room + - InteractableObject + - Foliage + - Colliders + - PhysicsObject + - Triggers + - MapRadar + - NavigationSurface + - RoomLight + - Anomaly + - LineOfSight + - Enemies + - PlayerRagdoll + - MapHazards + - ScanNode + - EnemiesNotRendered + - MiscLevelGeometry + - Terrain + - PlaceableShipObjects + - PlacementBlocker + - Railing + - + - + - + m_SortingLayers: + - name: Default + uniqueID: 0 + locked: 0 diff --git a/ProjectSettings/TimeManager.asset b/ProjectSettings/TimeManager.asset new file mode 100644 index 0000000..558a017 --- /dev/null +++ b/ProjectSettings/TimeManager.asset @@ -0,0 +1,9 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!5 &1 +TimeManager: + m_ObjectHideFlags: 0 + Fixed Timestep: 0.02 + Maximum Allowed Timestep: 0.33333334 + m_TimeScale: 1 + Maximum Particle Timestep: 0.03 diff --git a/ProjectSettings/UnityConnectSettings.asset b/ProjectSettings/UnityConnectSettings.asset new file mode 100644 index 0000000..a88bee0 --- /dev/null +++ b/ProjectSettings/UnityConnectSettings.asset @@ -0,0 +1,36 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!310 &1 +UnityConnectSettings: + m_ObjectHideFlags: 0 + serializedVersion: 1 + m_Enabled: 0 + m_TestMode: 0 + m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events + m_EventUrl: https://cdp.cloud.unity3d.com/v1/events + m_ConfigUrl: https://config.uca.cloud.unity3d.com + m_DashboardUrl: https://dashboard.unity3d.com + m_TestInitMode: 0 + CrashReportingSettings: + m_EventUrl: https://perf-events.cloud.unity3d.com + m_Enabled: 0 + m_LogBufferSize: 10 + m_CaptureEditorExceptions: 1 + UnityPurchasingSettings: + m_Enabled: 0 + m_TestMode: 0 + UnityAnalyticsSettings: + m_Enabled: 0 + m_TestMode: 0 + m_InitializeOnStartup: 1 + m_PackageRequiringCoreStatsPresent: 0 + UnityAdsSettings: + m_Enabled: 0 + m_InitializeOnStartup: 1 + m_TestMode: 0 + m_IosGameId: + m_AndroidGameId: + m_GameIds: {} + m_GameId: + PerformanceReportingSettings: + m_Enabled: 0 diff --git a/ProjectSettings/VFXManager.asset b/ProjectSettings/VFXManager.asset new file mode 100644 index 0000000..87823a9 --- /dev/null +++ b/ProjectSettings/VFXManager.asset @@ -0,0 +1,17 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!937362698 &1 +VFXManager: + m_ObjectHideFlags: 0 + m_IndirectShader: {fileID: 7200000, guid: 84a17cfa13e40ae4082ef42714f0a81c, type: 3} + m_CopyBufferShader: {fileID: 7200000, guid: 23c51f21a3503f6428b527b01f8a2f4e, type: 3} + m_SortShader: {fileID: 7200000, guid: ea257ca3cfb12a642a5025e612af6b2a, type: 3} + m_StripUpdateShader: {fileID: 7200000, guid: 8fa6c4009fe2a4d4486c62736fc30ad8, type: 3} + m_RenderPipeSettingsPath: + m_FixedTimeStep: 0.016666668 + m_MaxDeltaTime: 0.05 + m_MaxScrubTime: 30 + m_CompiledVersion: 7 + m_RuntimeVersion: 35 + m_RuntimeResources: {fileID: 11400000, guid: bc10b42afe3813544bffd38ae2cd893d, type: 2} + m_BatchEmptyLifetime: 300 diff --git a/ProjectSettings/VersionControlSettings.asset b/ProjectSettings/VersionControlSettings.asset new file mode 100644 index 0000000..dca2881 --- /dev/null +++ b/ProjectSettings/VersionControlSettings.asset @@ -0,0 +1,8 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!890905787 &1 +VersionControlSettings: + m_ObjectHideFlags: 0 + m_Mode: Visible Meta Files + m_CollabEditorSettings: + inProgressEnabled: 1 diff --git a/ProjectSettings/XRSettings.asset b/ProjectSettings/XRSettings.asset new file mode 100644 index 0000000..482590c --- /dev/null +++ b/ProjectSettings/XRSettings.asset @@ -0,0 +1,10 @@ +{ + "m_SettingKeys": [ + "VR Device Disabled", + "VR Device User Alert" + ], + "m_SettingValues": [ + "False", + "False" + ] +} \ No newline at end of file