My Project
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
BaseCapture Class Reference
Inheritance diagram for BaseCapture:
StandardPump Teal.PumpObject

Public Member Functions

bool ClosestCapturable ()
 
bool IsSafe ()
 
bool AllowCapturing ()
 
override bool SendPump (BitPacker packer)
 
override void ReceivePump (BitPacker packer)
 
void InitLooseFlag (Flag newFlag)
 
void DestroyFlag ()
 
void Master_CreateFlag ()
 
void SetRoof (bool on)
 
void SetSandbags (bool on)
 
void SetCapturable (bool c)
 
void SetRespawns (bool active)
 
- Public Member Functions inherited from StandardPump
override bool UpdateIsMine ()
 
- Public Member Functions inherited from Teal.PumpObject
virtual bool UpdateIsMine ()
 
bool IsMine ()
 
virtual bool SendPump (BitPacker packer)
 
virtual void ReceivePump (BitPacker packer)
 
virtual bool SendPumps (BitPacker packer)
 
virtual bool ReceivePumps (BitPacker packer)
 
virtual void DebugLog ()
 
void SetOwner (ushort id)
 

Static Public Member Functions

static ProtoshapeEdit GetArea (Vector3 pos, float radius)
 

Public Attributes

float timeToCapture = 3.0f
 
float capturersMultiplier = 1.25f
 
float returnMultiplier = 1.5f
 
float captureTime
 
bool allowCapturing = false
 
bool roofEnabled = false
 
GameObject roof
 
bool sandbagsEnabled = false
 
GameObject sandbags
 
GameObject animate
 
Vector3 animateEndPos
 
int attackers
 
int defenders
 
bool capturable
 
Flag flag
 
bool shouldHaveFlag = true
 
string flagPrefab = "Flag"
 
Transform flagPosition
 
LayerMask roofObstacleLayer
 
Team team
 
ProtoshapeEdit area
 
- Public Attributes inherited from StandardPump
StandardObject standard
 
Controls controls
 
Item item
 
- Public Attributes inherited from Teal.PumpObject
bool isMine
 
ushort ownerId
 
float timeSinceCreated
 
bool relay
 
PumpObject[] pumpObjects
 

Static Public Attributes

static List< BaseCapture_bases = new List<BaseCapture>()
 

Protected Member Functions

override void Awake ()
 
override void OnDestroy ()
 
override void Start ()
 
override void Awake ()
 
- Protected Member Functions inherited from Teal.PumpObject
void Initialize ()
 
virtual void Awake ()
 
virtual void Start ()
 
virtual void OnDestroy ()
 
virtual bool IsLocalAuthority ()
 
int ReadPingCheck (BitPacker packer, bool isLocal)
 
void WritePingCheck (BitPacker packer, bool isLocal)
 

Properties

float CaptureProgress [get]
 
- Properties inherited from Teal.PumpObject
NetworkObject net [get]
 

Additional Inherited Members

- Protected Attributes inherited from Teal.PumpObject
Dictionary< byte, long > stateTimes = new Dictionary<byte, long>()
 
byte state
 
byte lastGotState
 

Member Function Documentation

◆ Awake()

override void BaseCapture.Awake ( )
inlineprotectedvirtual

Reimplemented from StandardPump.

◆ OnDestroy()

override void BaseCapture.OnDestroy ( )
inlineprotectedvirtual

Reimplemented from Teal.PumpObject.

◆ ReceivePump()

override void BaseCapture.ReceivePump ( BitPacker  packer)
inlinevirtual

Reimplemented from Teal.PumpObject.

◆ SendPump()

override bool BaseCapture.SendPump ( BitPacker  packer)
inlinevirtual

Reimplemented from Teal.PumpObject.

◆ Start()

override void BaseCapture.Start ( )
inlineprotectedvirtual

Reimplemented from Teal.PumpObject.


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