|
| | NetworkSend (NetworkController networkController) |
| | Network functions for multiplayer games. More...
|
| |
| void | SendChatMessage (string message) |
| | Sends a chat message to the server. More...
|
| |
| void | SendPlayerInfo () |
| | Sends player name, location and color to the server. More...
|
| |
| IEnumerator | SendConduitData (Vector3 pos, int range) |
| | Sends conduit range to the server when changed by the player. More...
|
| |
| IEnumerator | SendMachineData (Vector3 pos, int speed) |
| | Sends machine speed to the server when changed by the player. More...
|
| |
| IEnumerator | SendHubData (Vector3 pos, int circuit, int range, bool stop, float stopTime) |
| | Sends rail cart hub data to the server when changed by the player. More...
|
| |
| IEnumerator | SendNetworkStorage () |
| | Sends inventory data to the server. More...
|
| |
| IEnumerator | SendPowerData (Vector3 pos, int range, bool dual) |
| | Sends power conduit data to the server. More...
|
| |
| IEnumerator | SendPaintData (string block, float red, float green, float blue) |
| | Sends painted block colors to the sever. More...
|
| |
◆ NetworkSend()
Network functions for multiplayer games.
◆ GetExternalAddress()
| string NetworkSend.GetExternalAddress |
( |
| ) |
|
|
inlineprivate |
Gets external IP address for online games.
◆ SendChatMessage()
| void NetworkSend.SendChatMessage |
( |
string |
message | ) |
|
|
inline |
Sends a chat message to the server.
◆ SendConduitData()
| IEnumerator NetworkSend.SendConduitData |
( |
Vector3 |
pos, |
|
|
int |
range |
|
) |
| |
|
inline |
Sends conduit range to the server when changed by the player.
◆ SendHubData()
| IEnumerator NetworkSend.SendHubData |
( |
Vector3 |
pos, |
|
|
int |
circuit, |
|
|
int |
range, |
|
|
bool |
stop, |
|
|
float |
stopTime |
|
) |
| |
|
inline |
Sends rail cart hub data to the server when changed by the player.
◆ SendMachineData()
| IEnumerator NetworkSend.SendMachineData |
( |
Vector3 |
pos, |
|
|
int |
speed |
|
) |
| |
|
inline |
Sends machine speed to the server when changed by the player.
◆ SendNetworkStorage()
| IEnumerator NetworkSend.SendNetworkStorage |
( |
| ) |
|
|
inline |
Sends inventory data to the server.
◆ SendPaintData()
| IEnumerator NetworkSend.SendPaintData |
( |
string |
block, |
|
|
float |
red, |
|
|
float |
green, |
|
|
float |
blue |
|
) |
| |
|
inline |
Sends painted block colors to the sever.
◆ SendPlayerInfo()
| void NetworkSend.SendPlayerInfo |
( |
| ) |
|
|
inline |
Sends player name, location and color to the server.
◆ SendPowerData()
| IEnumerator NetworkSend.SendPowerData |
( |
Vector3 |
pos, |
|
|
int |
range, |
|
|
bool |
dual |
|
) |
| |
|
inline |
Sends power conduit data to the server.
◆ conduitCoroutineBusy
| bool NetworkSend.conduitCoroutineBusy |
|
private |
◆ hubCoroutineBusy
| bool NetworkSend.hubCoroutineBusy |
|
private |
◆ machineCoroutineBusy
| bool NetworkSend.machineCoroutineBusy |
|
private |
◆ networkController
◆ paintCoroutineBusy
| bool NetworkSend.paintCoroutineBusy |
|
private |
◆ playerBlue
| string NetworkSend.playerBlue |
|
private |
◆ playerController
◆ playerGreen
| string NetworkSend.playerGreen |
|
private |
◆ playerRed
| string NetworkSend.playerRed |
|
private |
◆ sentNetworkStorage
| bool NetworkSend.sentNetworkStorage |
◆ serverURL
| string NetworkSend.serverURL |
|
private |
The documentation for this class was generated from the following file: