Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
BrokeProtocol.Entities.ClEquipable Class Reference
Inheritance diagram for BrokeProtocol.Entities.ClEquipable:
BrokeProtocol.Entities.ClItem BrokeProtocol.Entities.ClMountable BrokeProtocol.Entities.ClDamageable BrokeProtocol.Entities.ClEntity BrokeProtocol.Client.Buttons.ClActionable BrokeProtocol.Entities.ClLight BrokeProtocol.Entities.ClShield BrokeProtocol.Entities.ClUsable BrokeProtocol.Entities.ClDetonator BrokeProtocol.Entities.ClHitscan BrokeProtocol.Entities.ClPhone BrokeProtocol.Entities.ClPlaceable BrokeProtocol.Entities.ClProjectile BrokeProtocol.Entities.ClRestrained BrokeProtocol.Entities.ClConsumable BrokeProtocol.Entities.ClExtinguisher BrokeProtocol.Entities.ClRestraint BrokeProtocol.Entities.ClWeapon BrokeProtocol.Entities.ClDeployable BrokeProtocol.Entities.ClFurniture BrokeProtocol.Entities.ClSeed BrokeProtocol.Entities.ClGun BrokeProtocol.Entities.ClProcessor BrokeProtocol.Entities.ClSecurity BrokeProtocol.Entities.ClBallistic

Public Member Functions

override void RefreshActions ()
 
override void FinishedActions ()
 
void StartDelayRender ()
 
- Public Member Functions inherited from BrokeProtocol.Entities.ClItem
override void RefreshActions ()
 
void InitializeButton (ItemInfo buttonInfo)
 
- Public Member Functions inherited from BrokeProtocol.Entities.ClMountable
override void RefreshActions ()
 
void PlayAlert ()
 
virtual void TurnOn ()
 
virtual void TurnOff ()
 
- Public Member Functions inherited from BrokeProtocol.Entities.ClEntity
void DeserializeAnimator (byte[] stateArray)
 
void DeserializeParameters (byte[] stateArray)
 
bool TypeActionTest (string type)
 
override void Initialize ()
 
virtual void Relocate (Vector3 position, Quaternion rotation, bool zeroVelocity)
 
void StartMapMarker (Color color)
 
void DestroyMapMarker ()
 
virtual void Destroy ()
 
virtual void ReadActivateData ()
 
virtual void ReadInitData ()
 
void VideoPlay (string videoURL, float startTime)
 
void VideoStop ()
 
void ClDestroyEffect (int destroyEffectIndex)
 

Public Attributes

Transform zoomT
 
- Public Attributes inherited from BrokeProtocol.Entities.ClItem
ItemInfo buttonInfo
 
InventoryMenu inventoryMenu
 
- Public Attributes inherited from BrokeProtocol.Entities.ClEntity
SpriteRenderer mapMarkerSprite
 
ClManager clManager
 
bool isMain
 
VideoPlayer videoPlayer
 
RawImage videoImage
 
- Public Attributes inherited from BrokeProtocol.Client.Buttons.ClActionable
List< ActionInfoactions
 

Protected Member Functions

override bool MyEquipmentTest ()
 
bool SubMenu ()
 
void SubMenuAction (byte index)
 
override bool EquipTest ()
 
override bool UnequipTest ()
 
IEnumerator DelayRender ()
 
void BindAction ()
 
void UnbindAction ()
 
void EquipAction ()
 
- Protected Member Functions inherited from BrokeProtocol.Entities.ClItem
bool InventoryActionTest (string type, byte buttonType)
 
override bool AppsTest ()
 
override bool CollectTest ()
 
void GiveAmount (int count)
 
void TakeAmount (int count)
 
bool ButtonTest ()
 
bool MyButtonTest ()
 
bool OtherButtonTest ()
 
bool SellTest ()
 
bool BuyTest ()
 
void RemoveOneAction ()
 
void RemoveAllAction ()
 
void RemoveXAction ()
 
void RemoveXButton ()
 
void TakeOneAction ()
 
void TakeAllAction ()
 
void TakeXAction ()
 
void TakeXButton ()
 
void DropAction ()
 
void InventoryAction (string eventName)
 
- Protected Member Functions inherited from BrokeProtocol.Entities.ClMountable
bool MountTest ()
 
void MountAction ()
 
bool EmbarkTest ()
 
void EmbarkAction ()
 
- Protected Member Functions inherited from BrokeProtocol.Entities.ClEntity
void EventAction (string eventName)
 
void CollectAction ()
 
virtual bool ShopTest ()
 
void ShopAction ()
 
bool ViewTest ()
 
void ViewAction ()
 
virtual bool CrackTest ()
 
void CrackAction ()
 
virtual bool BuyEntityTest ()
 
void GetEntityValueAction ()
 
void AppsAction ()
 
bool VideoPanelTest ()
 
void VideoPanelAction ()
 
bool VideoSyncTest ()
 
void VideoPlayerReady (VideoPlayer source)
 
void VideoSyncAction ()
 

Protected Attributes

ShEquipable equipable
 
float zoomFactor = 1f
 
bool subMenu
 
- Protected Attributes inherited from BrokeProtocol.Entities.ClMountable
ShMountable mountable
 
AudioSource horn
 
- Protected Attributes inherited from BrokeProtocol.Entities.ClEntity
ShEntity entity
 
LabelID[] eventActions
 
bool videoReadyAndPlaying
 
RenderTexture renderTexture
 

Properties

Transform ZoomT [get]
 
float ZoomFactor [get]
 
- Properties inherited from BrokeProtocol.Entities.ClMountable
virtual bool ClientController [get]
 
- Properties inherited from BrokeProtocol.Entities.ClEntity
bool InventoryTest [get]
 

Member Function Documentation

◆ BindAction()

void BrokeProtocol.Entities.ClEquipable.BindAction ( )
inlineprotected

◆ DelayRender()

IEnumerator BrokeProtocol.Entities.ClEquipable.DelayRender ( )
inlineprotected

◆ EquipAction()

void BrokeProtocol.Entities.ClEquipable.EquipAction ( )
protected

◆ EquipTest()

override bool BrokeProtocol.Entities.ClEquipable.EquipTest ( )
protectedvirtual

Reimplemented from BrokeProtocol.Entities.ClItem.

◆ FinishedActions()

override void BrokeProtocol.Entities.ClEquipable.FinishedActions ( )
inlinevirtual

◆ MyEquipmentTest()

override bool BrokeProtocol.Entities.ClEquipable.MyEquipmentTest ( )
protectedvirtual

Reimplemented from BrokeProtocol.Entities.ClItem.

◆ RefreshActions()

override void BrokeProtocol.Entities.ClEquipable.RefreshActions ( )
inlinevirtual

◆ StartDelayRender()

void BrokeProtocol.Entities.ClEquipable.StartDelayRender ( )

◆ SubMenu()

bool BrokeProtocol.Entities.ClEquipable.SubMenu ( )
protected

◆ SubMenuAction()

void BrokeProtocol.Entities.ClEquipable.SubMenuAction ( byte index)
protected

◆ UnbindAction()

void BrokeProtocol.Entities.ClEquipable.UnbindAction ( )
protected

◆ UnequipTest()

override bool BrokeProtocol.Entities.ClEquipable.UnequipTest ( )
protectedvirtual

Reimplemented from BrokeProtocol.Entities.ClItem.

Member Data Documentation

◆ equipable

ShEquipable BrokeProtocol.Entities.ClEquipable.equipable
protected

◆ subMenu

bool BrokeProtocol.Entities.ClEquipable.subMenu
protected

◆ zoomFactor

float BrokeProtocol.Entities.ClEquipable.zoomFactor = 1f
protected

◆ zoomT

Transform BrokeProtocol.Entities.ClEquipable.zoomT

Property Documentation

◆ ZoomFactor

float BrokeProtocol.Entities.ClEquipable.ZoomFactor
get

◆ ZoomT

Transform BrokeProtocol.Entities.ClEquipable.ZoomT
get

The documentation for this class was generated from the following file: