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 | List of all members
BrokeProtocol.Entities.ClItem Class Reference
Inheritance diagram for BrokeProtocol.Entities.ClItem:
BrokeProtocol.Entities.ClMountable BrokeProtocol.Entities.ClDamageable BrokeProtocol.Entities.ClEntity BrokeProtocol.Client.Buttons.ClActionable BrokeProtocol.Entities.ClAttachment BrokeProtocol.Entities.ClEquipable BrokeProtocol.Entities.ClWearable BrokeProtocol.Entities.ClMuzzle BrokeProtocol.Entities.ClSight BrokeProtocol.Entities.ClUnderbarrel 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 ()
 
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 Member Functions inherited from BrokeProtocol.Client.Buttons.ClActionable
virtual void FinishedActions ()
 

Public Attributes

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

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 ()
 
virtual bool MyEquipmentTest ()
 
void DropAction ()
 
virtual bool EquipTest ()
 
virtual bool UnequipTest ()
 
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 ()
 

Additional Inherited Members

- 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 inherited from BrokeProtocol.Entities.ClMountable
virtual bool ClientController [get]
 
- Properties inherited from BrokeProtocol.Entities.ClEntity
bool InventoryTest [get]
 

Member Function Documentation

◆ AppsTest()

override bool BrokeProtocol.Entities.ClItem.AppsTest ( )
protectedvirtual

Reimplemented from BrokeProtocol.Entities.ClEntity.

◆ ButtonTest()

bool BrokeProtocol.Entities.ClItem.ButtonTest ( )
protected

◆ BuyTest()

bool BrokeProtocol.Entities.ClItem.BuyTest ( )
protected

◆ CollectTest()

override bool BrokeProtocol.Entities.ClItem.CollectTest ( )
protectedvirtual

Reimplemented from BrokeProtocol.Entities.ClEntity.

◆ DropAction()

void BrokeProtocol.Entities.ClItem.DropAction ( )
protected

◆ EquipTest()

virtual bool BrokeProtocol.Entities.ClItem.EquipTest ( )
protectedvirtual

◆ GiveAmount()

void BrokeProtocol.Entities.ClItem.GiveAmount ( int count)
protected

◆ InitializeButton()

void BrokeProtocol.Entities.ClItem.InitializeButton ( ItemInfo buttonInfo)
inline

◆ InventoryAction()

void BrokeProtocol.Entities.ClItem.InventoryAction ( string eventName)
protected

◆ InventoryActionTest()

bool BrokeProtocol.Entities.ClItem.InventoryActionTest ( string type,
byte buttonType )
protected

◆ MyButtonTest()

bool BrokeProtocol.Entities.ClItem.MyButtonTest ( )
protected

◆ MyEquipmentTest()

virtual bool BrokeProtocol.Entities.ClItem.MyEquipmentTest ( )
protectedvirtual

◆ OtherButtonTest()

bool BrokeProtocol.Entities.ClItem.OtherButtonTest ( )
protected

◆ RefreshActions()

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

◆ RemoveAllAction()

void BrokeProtocol.Entities.ClItem.RemoveAllAction ( )
protected

◆ RemoveOneAction()

void BrokeProtocol.Entities.ClItem.RemoveOneAction ( )
protected

◆ RemoveXAction()

void BrokeProtocol.Entities.ClItem.RemoveXAction ( )
protected

◆ RemoveXButton()

void BrokeProtocol.Entities.ClItem.RemoveXButton ( )
inlineprotected

◆ SellTest()

bool BrokeProtocol.Entities.ClItem.SellTest ( )
protected

◆ TakeAllAction()

void BrokeProtocol.Entities.ClItem.TakeAllAction ( )
protected

◆ TakeAmount()

void BrokeProtocol.Entities.ClItem.TakeAmount ( int count)
protected

◆ TakeOneAction()

void BrokeProtocol.Entities.ClItem.TakeOneAction ( )
protected

◆ TakeXAction()

void BrokeProtocol.Entities.ClItem.TakeXAction ( )
protected

◆ TakeXButton()

void BrokeProtocol.Entities.ClItem.TakeXButton ( )
inlineprotected

◆ UnequipTest()

virtual bool BrokeProtocol.Entities.ClItem.UnequipTest ( )
protectedvirtual

Member Data Documentation

◆ buttonInfo

ItemInfo BrokeProtocol.Entities.ClItem.buttonInfo

◆ inventoryMenu

InventoryMenu BrokeProtocol.Entities.ClItem.inventoryMenu

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