Zdexby TheHolyOneZ
42,628 classes
LightableTorch, Assembly-CSharp 0x0148 (328 B) inherited 0x00C0 Assembly-CSharp.dll
implements ISenderRpc
0x00x0148

Members 21

OffsetSizeNameTypeFlagsDefault
0x01IsLightableboolPublic—
0x01LightOnMainMenuboolPublic—
0x01ShowEmptyFuelInfoboolPublic—
0x00C30x05padding / unreflected
0x08EmptyFuelInfoTextstringPublic—
0x08LightSoundsList<UnityEngine.AudioClip>Public—
0x08TorchesList<Torch>Public—
0x08FlammableFlammablePublic—
0x01HasCoalsboolPublic—
0x00E90x07padding / unreflected
0x08CoalPrefabsList<UnityEngine.GameObject>Public—
0x08UseCoalBoundsColliderPublic—
0x08CoalPlaneTransformPublic—
0x04NumberOfCoalsintPublic—
0x01UseOverlapRefuelboolPublic—
0x010D0x03padding / unreflected
0x08OverlapRefuelSearchOverlapColliderSearch<TorchFuel>Public—
0x08RefuelCheckDelayTimedDelayPublic—
0x04FuelPlacementMaxTriesintPublic—
0x01IsLitboolPublic—
0x01250x03padding / unreflected
0x08OnLitAction<LightableTorch>Private—
0x08OnRefueledAction<LightableTorchPrivate—
0x08occupiedFuelBoundsList<UnityEngine.Bounds>Private—
0x08capturedFuelsHashSet<TorchFuel>Private—
Inherited from Interactable 20
OffsetSizeNameTypeFlagsDefault
0x08InteractableTypesList<InteractableType>Public—
0x04crosshairTypeCrossHairTypePublic—
0x10CrosshairColorColorPublic—
0x00440x04padding / unreflected
0x08infoTextstringPublic—
0x01IncludeInteractKeyboolPublic—
0x00510x07padding / unreflected
0x08interactSoundAudioClipPublic—
0x08InteractSoundsList<UnityEngine.AudioClip>Public—
0x08audioSourceAudioSourcePublic—
0x08viewPhotonViewPublic—
0x01DestroyOnInteractboolPublic—
0x00790x07padding / unreflected
0x08DestroySoundsList<UnityEngine.AudioClip>Public—
0x04HoldInteractKeyDelayfloatPublic—
0x01IsHoveredboolPublic—
0x008D0x03padding / unreflected
0x08ShownInfoTextstringPublic—
0x01CanBeHoveredboolPublic—
0x01CanBeInteractedWithboolPublic—
0x009A0x06padding / unreflected
0x08OnInteractEventAction<EntityPrivate—
0x08OnDestroyEventAction<Interactable>Private—
0x08interSoundsList<UnityEngine.AudioClip>1 flags—
0x04heldInteractTimefloatPrivate—
Inherited from ReferenceScript 2
OffsetSizeNameTypeFlagsDefault
0x08AssetIdstringPublic—
0x08PrefabGameObjectPublic—
Inherited from Object 4
OffsetSizeNameTypeFlagsDefault
0x08m_CachedPtrlongPrivate—
0x04OffsetOfInstanceIDInCPlusPlusObjectintStatic+1 flags—
—0x08objectIsNullMessagestringPrivateStatic+1 flags—
—0x08cloneDestroyedMessagestringPrivateStatic+1 flags—

Functions 54

SignatureFlagsNativeParams
float get_MaxDurationTotal()Public+1 flags0x04
float get_RemainingDurationTotal()Public+1 flags0x04
float get_RemainingDurationPercent()Public+1 flags0x04
bool get_HasRemainingDuration()Public+1 flags0x01
void add_OnLit(Action<LightableTorch> value)Public+1 flags0x08
void remove_OnLit(Action<LightableTorch> value)Public+1 flags0x08
void add_OnRefueled(Action<LightableTorch value)Public+1 flags0x08
void remove_OnRefueled(Action<LightableTorch value)Public+1 flags0x08
void Reset()2 flags0x00
void Awake()Private0x00
void SpawnCoals()Private0x00
void Start()Private0x00
void Update()Private0x00
void OnDestroy()Private0x00
float GetHighestRemainingDuration()Public0x04
bool CanLight()Public0x01
bool CanShowEmptyFuelInfo()Private0x01
bool CanRefuelFromHeld(Player player)Private0x08
bool TryGetHeldTorchFuel(Entity interactor, ref Player& player, ref TorchFuel& fuel, ref CarryableInteractable& carryable)Private0x08
bool TryGetHeldTorchFuel(Player player, ref TorchFuel& fuel, ref CarryableInteractable& carryable)Private0x08
bool CanHover(Entity interactor)Public+1 flags0x08
void OnHover(Entity interactor)Public+1 flags0x08
bool CanInteract(Entity interactor)Public+1 flags0x08
bool OnInteract(Entity interactor)Public+1 flags0x08
void Flammable_OnLit(LitContext context)Private0x08
void RPCLight()Public0x00
void Light()Public0x00
void PlayLightSound()Private0x00
void CheckRefuelZones()Public0x00
bool CanRefuelFrom(TorchFuel fuel)Public0x08
void RPCEvenlyRefuelFrom(TorchFuel fuel)Public0x08
void EvenlyRefuelFrom(int torchFuelId)Public0x04
void EvenlyRefuelFrom(TorchFuel fuel)Private0x08
void RPCPlaceOrRefuelHeldTorchFuel(Player player, TorchFuel fuel)Public0x08
void PlaceHeldTorchFuel(int playerViewID, int torchFuelViewID, const Vector3& position, const Quaternion& rotation)Public0x10
void PlaceHeldTorchFuel(Player player, TorchFuel fuel, const Vector3& position, const Quaternion& rotation)Private0x10
void RPCCaptureOrRefuelFrom(TorchFuel fuel)Public0x08
void CaptureAndRefuelFrom(int torchFuelViewID, const Vector3& position, const Quaternion& rotation)Public0x10
void CaptureAndRefuelFrom(TorchFuel fuel, const Vector3& position, const Quaternion& rotation)Private0x10
bool IsFuelCaptured(TorchFuel fuel)Public0x08
bool TryPositionFuel(TorchFuel fuel)Public0x08
bool TryGetRandomFuelPose(TorchFuel fuel, ref Vector3& position, ref Quaternion& rotation)Public0x10
bool TryRaycastFuelPlacement(TorchFuel fuel, const Vector3& rayStart, ref RaycastHit& hit)Private0x2C
Vector3 GetFuelPositionOnHit(TorchFuel fuel, const Vector3& hitPoint, const Quaternion& rotation)Private0x10
void CaptureTorchFuel(Player player, TorchFuel fuel, const Vector3& position, const Quaternion& rotation)Private0x10
void SetCapturedFuelPhysics(TorchFuel fuel, CarryableInteractable carryable)Private0x08
bool TryGetFuelBounds(TorchFuel fuel, ref Bounds& bounds, bool includeDisabledColliders)Private0x18
Bounds GetColliderWorldBounds(Collider col)Private0x18
bool IsFuelPositionOccupied(const Vector3& position)Private0x0C
bool TryGetPlayer(int playerViewID, ref Player& player)Private0x08
bool TryGetTorchFuel(int torchFuelViewID, ref TorchFuel& fuel)Private0x08
void .ctor()Public+1 flags0x00
string ISenderRpc.get_name()PrivateFinal+3 flags0x08
GameObject <SpawnCoals>g__GetPrefab|35_1(ref GameObject& last)Private0x08

Used by 22

types with a member, parameter or interface of this type