C# 클래스 Railgun.RailClient

상속: RailConnection
파일 보기 프로젝트 열기: ashoulson/RailgunNet

공개 메소드들

메소드 설명
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.

메소드 상세

QueueEvent() 공개 메소드

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).
public QueueEvent ( RailEvent evnt, int attempts = 3 ) : void
evnt RailEvent
attempts int
리턴 void

RailClient() 공개 메소드

public RailClient ( ) : System.Collections.Generic
리턴 System.Collections.Generic

SetPeer() 공개 메소드

public SetPeer ( IRailNetPeer netPeer ) : void
netPeer IRailNetPeer
리턴 void

Update() 공개 메소드

public Update ( ) : void
리턴 void