Override the Quantum plugin class to create a custom server object.
More...
Inherits PluginBase, and IHost.
|
string | GameId => PluginHost == null ? string.Empty : PluginHost.GameId |
| Returns the room name. More...
|
|
|
int | EmptyRoomTTL [get] |
| Retrieve the EmptyRoomTTL value from GameProperties, return 0 when nothing was found. More...
|
|
override string | Name [get] |
| Plugin name. This will correspond with the plugin name that the client selects when connecting to a room. More...
|
|
IServer | Server [get] |
| Server object that the plugin needs as an entry to call rudimentary callbacks. More...
|
|
Override the Quantum plugin class to create a custom server object.
◆ DeterministicPlugin() [1/2]
Photon.Deterministic.DeterministicPlugin.DeterministicPlugin |
( |
| ) |
|
|
inline |
◆ DeterministicPlugin() [2/2]
Photon.Deterministic.DeterministicPlugin.DeterministicPlugin |
( |
IServer |
server | ) |
|
|
inline |
Create a DeterministicPlugin instance passing in a server object.
- Parameters
-
◆ LogInfo()
void Photon.Deterministic.DeterministicPlugin.LogInfo |
( |
string |
message | ) |
|
|
inline |
Directs log to PluginHost.
◆ LogFatal()
void Photon.Deterministic.DeterministicPlugin.LogFatal |
( |
string |
message | ) |
|
|
inline |
Directs log to PluginHost.
◆ LogWarning()
void Photon.Deterministic.DeterministicPlugin.LogWarning |
( |
string |
message | ) |
|
|
inline |
Directs log to PluginHost.
◆ LogError()
void Photon.Deterministic.DeterministicPlugin.LogError |
( |
string |
message | ) |
|
|
inline |
Directs log to PluginHost.
◆ LogException()
void Photon.Deterministic.DeterministicPlugin.LogException |
( |
Exception |
exn | ) |
|
|
inline |
Directs log to PluginHost.
◆ Disconnect()
void Photon.Deterministic.DeterministicPlugin.Disconnect |
( |
int |
actorNr, |
|
|
string |
message |
|
) |
| |
|
inline |
Removed the actor from the plugin host. Is automatically called when the DeterministicServer is closed.
- Parameters
-
actorNr | Actor Number from DeterministicPluginClient.ActorNr |
message | Disconnect message |
◆ GameId
string Photon.Deterministic.DeterministicPlugin.GameId => PluginHost == null ? string.Empty : PluginHost.GameId |
◆ Server
IServer Photon.Deterministic.DeterministicPlugin.Server |
|
get |
Server object that the plugin needs as an entry to call rudimentary callbacks.
◆ Name
override string Photon.Deterministic.DeterministicPlugin.Name |
|
get |
Plugin name. This will correspond with the plugin name that the client selects when connecting to a room.
RoomOptions roomOptions = new RoomOptions {
Plugins = new string[] { "QuantumPlugin" }
};
◆ EmptyRoomTTL
int Photon.Deterministic.DeterministicPlugin.EmptyRoomTTL |
|
get |
Retrieve the EmptyRoomTTL value from GameProperties, return 0 when nothing was found.