Class
Campfire
: Interactable : ReferenceScript : MonoBehaviour : Behaviour : Component : Object : Objectimplements ISenderRpc
0x00x0198
Members 32
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x04 | LitDuration | float | Public | — | |
| 0x00C4 | 0x04 | padding / unreflected | |||
| 0x08 | WorldBtns | List<Pair<Campfire.CampfireAction | Public | — | |
| 0x04 | MaxActions | int | Public | — | |
| 0x04 | InteractDistance | float | Public | — | |
| 0x08 | RestfulBuff | BuffAndEffect | Public | — | |
| 0x04 | RefillTorchUpToPercent | float | Public | — | |
| 0x04 | MaxRefillTimes | int | Public | — | |
| 0x04 | HealToHealth | int | Public | — | |
| 0x00EC | 0x04 | padding / unreflected | |||
| 0x08 | HealPlayerBuff | BuffAndEffect | Public | — | |
| 0x08 | WorldBtnsParent | Transform | Public | — | |
| 0x08 | WorldBtnPrefab | WorldBtn | Public | — | |
| 0x04 | CanvasDistance | float | Public | — | |
| 0x04 | CanvasTurnLerpSpeed | float | Public | — | |
| 0x04 | CanvasMoveLerpSpeed | float | Public | — | |
| 0x0114 | 0x04 | padding / unreflected | |||
| 0x08 | Canvas | Canvas | Public | — | |
| 0x08 | ScrollUI | ScrollUI | Public | — | |
| 0x08 | ScrollOpenSound | AudioClip | Public | — | |
| 0x08 | ScrollCloseSound | AudioClip | Public | — | |
| 0x08 | Renderer | CanvasRenderer | Public | — | |
| 0x08 | CanvasLookAt | LookAtObject | Public | — | |
| 0x08 | CanvasFade | FadeGroup | Public | — | |
| 0x08 | BlowOutSound | AudioClip | Public | — | |
| 0x08 | Torches | List<Torch> | Public | — | |
| 0x08 | SittingPlayers | List<Player> | Public | — | |
| 0x08 | SittingClient | Player | Public | — | |
| 0x04 | RefilledTorchTimes | int | Public | — | |
| 0x01 | blownOut | bool | Private | — | |
| 0x0175 | 0x03 | padding / unreflected | |||
| 0x04 | litTime | float | Private | — | |
| 0x04 | usedActions | int | Private | — | |
| 0x04 | restfulBuffId | int | Private | — | |
| 0x0184 | 0x04 | padding / unreflected | |||
| 0x08 | restfulPlayer | Player | Private | — | |
| 0x01 | appliedRestfulBuff | bool | Private | — | |
| 0x0191 | 0x07 | unreflected bytes to end of Campfire | |||
Inherited from Interactable 20
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | InteractableTypes | List<InteractableType> | Public | — | |
| 0x04 | crosshairType | CrossHairType | Public | — | |
| 0x10 | CrosshairColor | Color | Public | — | |
| 0x0044 | 0x04 | padding / unreflected | |||
| 0x08 | infoText | string | Public | — | |
| 0x01 | IncludeInteractKey | bool | Public | — | |
| 0x0051 | 0x07 | padding / unreflected | |||
| 0x08 | interactSound | AudioClip | Public | — | |
| 0x08 | InteractSounds | List<UnityEngine.AudioClip> | Public | — | |
| 0x08 | audioSource | AudioSource | Public | — | |
| 0x08 | view | PhotonView | Public | — | |
| 0x01 | DestroyOnInteract | bool | Public | — | |
| 0x0079 | 0x07 | padding / unreflected | |||
| 0x08 | DestroySounds | List<UnityEngine.AudioClip> | Public | — | |
| 0x04 | HoldInteractKeyDelay | float | Public | — | |
| 0x01 | IsHovered | bool | Public | — | |
| 0x008D | 0x03 | padding / unreflected | |||
| 0x08 | ShownInfoText | string | Public | — | |
| 0x01 | CanBeHovered | bool | Public | — | |
| 0x01 | CanBeInteractedWith | bool | Public | — | |
| 0x009A | 0x06 | padding / unreflected | |||
| 0x08 | OnInteractEvent | Action<Entity | Private | — | |
| 0x08 | OnDestroyEvent | Action<Interactable> | Private | — | |
| 0x08 | interSounds | List<UnityEngine.AudioClip> | 1 flags | — | |
| 0x04 | heldInteractTime | float | Private | — | |
Inherited from ReferenceScript 2
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | AssetId | string | Public | — | |
| 0x08 | Prefab | GameObject | Public | — |
Inherited from Object 4
| Offset | Size | Name | Type | Flags | Default |
|---|---|---|---|---|---|
| 0x08 | m_CachedPtr | long | Private | — | |
| 0x04 | OffsetOfInstanceIDInCPlusPlusObject | int | Static+1 flags | — | |
| — | 0x08 | objectIsNullMessage | string | PrivateStatic+1 flags | — |
| — | 0x08 | cloneDestroyedMessage | string | PrivateStatic+1 flags | — |
Functions 30
| Signature | Flags | Native | Params |
|---|---|---|---|
| float get_DurationLeft() | Public+1 flags | 0x04 | |
| bool get_IsLit() | Public+1 flags | 0x01 | |
| void Awake() | Private | 0x00 | |
| void Start() | Private | 0x00 | |
| void Update() | Private | 0x00 | |
| void OnDestroy() | Private | 0x00 | |
| bool CanHover(Entity interactor) | Public+1 flags | 0x08 | |
| void OnHover(Entity interactor) | Public+1 flags | 0x08 | |
| bool CanInteract(Entity interactor) | Public+1 flags | 0x08 | |
| bool OnInteract(Entity interactor) | Public+1 flags | 0x08 | |
| bool IsInInteractDistance(const Vector3& pos) | Private | 0x0C | |
| void GameManagerCC_OnClientPlayerSpawned(Player player) | Private | 0x08 | |
| void RPCAddPlayer(Player player, bool addPlayer, bool changeSitState) | Public | 0x08 | |
| void AddPlayer(int playerId, bool addPlayer, bool changeSitState) | Public | 0x04 | |
| void OnSit(Player player, bool sit) | Private | 0x08 | |
| void SubscribeUnrestfulEvents(Player player, bool sub) | Private | 0x08 | |
| void Player_OnInteract(Interactable interactable, Player player) | Private | 0x08 | |
| void Player_OnItemPickedUp(Item item, Player player) | Private | 0x08 | |
| void Player_OnMobKilledEvent(Player player, Mob mob) | Private | 0x08 | |
| void ShowActionCanvas(bool show) | Private | 0x01 | |
| void MoveActionCanvas(bool set) | Private | 0x01 | |
| void ValidateButtons() | Private | 0x00 | |
| void DoCampfireAction(Player player, const CampfireAction& action) | Public | 0x08 | |
| void OnSleep() | Private | 0x00 | |
| void BlowOut() | Public | 0x00 | |
| void ApplyRestful(Player player, bool apply) | Public | 0x08 | |
| bool HasRestfulBuff(Player player) | Private | 0x08 | |
| void .ctor() | Public+1 flags | 0x00 | |
| string ISenderRpc.get_name() | PrivateFinal+3 flags | 0x08 | |
| bool <HasRestfulBuff>b__60_0(Buff x) | Private | 0x08 |