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

Base class that all commands inherit from More...

Inheritance diagram for Bolt.Command:

Static Public Member Functions

static implicit operator bool (Command cmd)
 

Properties

int ServerFrame [get, set]
 The value of the BoltNetwork.serverFrame property of the computer this command was created on More...
 
bool IsFirstExecution [get]
 Returns true if it's the first time this command executed 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 Bolt.Command.operator bool ( Command  cmd)
inlinestatic

Property Documentation

◆ IsFirstExecution

bool Bolt.Command.IsFirstExecution
get

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

◆ ServerFrame

int Bolt.Command.ServerFrame
getset

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

◆ UserToken

object 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.