메소드 | 설명 | |
---|---|---|
QueueEvent ( RailEvent evnt, int attempts = 3 ) : void |
Queues an event to broadcast to all clients. Use a RailEvent.SEND_RELIABLE (-1) for the number of attempts to send the event reliable-ordered (infinite retries).
|
|
RailClient ( ) : System.Collections.Generic | ||
SetPeer ( IRailNetPeer netPeer ) : void | ||
Update ( ) : void |
메소드 | 설명 | |
---|---|---|
OnPacketReceived ( IRailServerPacket packet ) : void | ||
ProcessDelta ( RailStateDelta delta ) : void | ||
UpdateControlStatus ( RailEntity entity, RailStateDelta delta ) : void | ||
UpdatePendingEntities ( Tick serverTick ) : void |
Checks to see if any pending entities can be added to the world and adds them if applicable.
|
|
UpdateRoom ( Tick localTick, Tick estimatedServerTick ) : void |
Updates the room a number of ticks. If we have entities waiting to be added, this function will check them and add them if applicable.
|
public QueueEvent ( RailEvent evnt, int attempts = 3 ) : void | ||
evnt | RailEvent | |
attempts | int | |
리턴 | void |
public RailClient ( ) : System.Collections.Generic | ||
리턴 | System.Collections.Generic |