Photon Bolt Engine API 1.3

Static Public Member Functions | Properties | List of all members
Photon.Bolt.Command Class Reference

Base class that all commands inherit from More...

Inheritance diagram for Photon.Bolt.Command:

Static Public Member Functions

static implicit operator bool (Command command)
 Convert a Command into a Bool. Useful to check if the reference to a Command is not null More...
 

Properties

bool IsFirstExecution [get]
 Returns true if it's the first time this command executed More...
 
int ServerFrame [get, set]
 The value of the BoltNetwork.serverFrame property of the computer this command was created on More...
 
object UserToken [get, set]
 User assignable token that lets you pair arbitrary data with the command, this is not replicated over the network to any remote computers. More...
 

Detailed Description

Base class that all commands inherit from

Member Function Documentation

◆ operator bool()

static implicit Photon.Bolt.Command.operator bool ( Command  command)
inlinestatic

Convert a Command into a Bool. Useful to check if the reference to a Command is not null

Parameters
commandCommand to be checked

Property Documentation

◆ IsFirstExecution

bool Photon.Bolt.Command.IsFirstExecution
get

Returns true if it's the first time this command executed

◆ ServerFrame

int Photon.Bolt.Command.ServerFrame
getset

The value of the BoltNetwork.serverFrame property of the computer this command was created on

◆ UserToken

object Photon.Bolt.Command.UserToken
getset

User assignable token that lets you pair arbitrary data with the command, this is not replicated over the network to any remote computers.