C# 클래스 SharpQuake.Client

파일 보기 프로젝트 열기: Memorix101/SharpQuake

공개 프로퍼티들

프로퍼티 타입 설명
NumVisEdicts int

공개 메소드들

메소드 설명
AllocDlight ( int key ) : dlight_t

CL_AllocDlight

DecayLights ( ) : void

CL_DecayLights

Disconnect ( ) : void

CL_Disconnect Sends a disconnect message to the server This is also called on Host_Error, so it shouldn't cause any errors

Disconnect_f ( ) : void
EstablishConnection ( string host ) : void

CL_EstablishConnection

Init ( ) : void
NextDemo ( ) : void

CL_NextDemo Called to play the next demo in the demo loop

ReadFromServer ( ) : int
SendCmd ( ) : void
SendMove ( usercmd_t &cmd ) : void
StopPlayback ( ) : void

CL_StopPlayback Called when a demo file runs out, or the user starts a game

비공개 메소드들

메소드 설명
AdjustAngles ( ) : void
BaseMove ( usercmd_t &cmd ) : void

CL_BaseMove Send the intended movement message to the server

ClearState ( ) : void

CL_ClearState

EntityNum ( int num ) : entity_t

CL_EntityNum This error checks and tracks the total number of entities

FinishTimeDemo ( ) : void

CL_FinishTimeDemo

GetMessage ( ) : int

CL_GetMessage Handles recording and playback of demos, on top of NET_ code

InitInput ( ) : void
InitTempEntities ( ) : void
KeepaliveMessage ( ) : void

CL_KeepaliveMessage When the client is taking a long time to load stuff, send keepalive messages so the server doesn't disconnect.

KeyState ( kbutton_t &key ) : float
LerpPoint ( ) : float

CL_LerpPoint Determines the fraction between the last two messages that the objects should be put at.

NewTempEntity ( ) : entity_t

CL_NewTempEntity

NewTranslation ( int slot ) : void
ParseBaseline ( entity_t ent ) : void

CL_ParseBaseline

ParseBeam ( model_t m ) : void

CL_ParseBeam

ParseClientData ( int bits ) : void

CL_ParseClientdata Server information pertaining to this client only

ParseServerInfo ( ) : void

CL_ParseServerInfo

ParseServerMessage ( ) : void

CL_ParseServerMessage

ParseStartSoundPacket ( ) : void
ParseStatic ( ) : void

CL_ParseStatic

ParseStaticSound ( ) : void

CL_ParseStaticSound

ParseTempEntity ( ) : void

CL_ParseTEnt

ParseUpdate ( int bits ) : void

CL_ParseUpdate Parse an entity update message from the server If an entities model or origin changes from frame to frame, it must be relinked. Other attributes can change without relinking.

PlayDemo_f ( ) : void
PrintEntities_f ( ) : void
Record_f ( ) : void

CL_Record_f record [cd track]

RelinkEntities ( ) : void

CL_RelinkEntities

ShowNet ( string s ) : void
SignonReply ( ) : void

CL_SignonReply An svc_signonnum has been received, perform a client side setup

Stop_f ( ) : void

CL_Stop_f stop recording a demo

TimeDemo_f ( ) : void

CL_TimeDemo_f timedemo [demoname]

UpdateTempEntities ( ) : void
WriteDemoMessage ( ) : void

CL_WriteDemoMessage Dumps the current net message, prefixed by the length and view angles

메소드 상세

AllocDlight() 공개 정적인 메소드

CL_AllocDlight
public static AllocDlight ( int key ) : dlight_t
key int
리턴 dlight_t

DecayLights() 공개 정적인 메소드

CL_DecayLights
public static DecayLights ( ) : void
리턴 void

Disconnect() 공개 정적인 메소드

CL_Disconnect Sends a disconnect message to the server This is also called on Host_Error, so it shouldn't cause any errors
public static Disconnect ( ) : void
리턴 void

Disconnect_f() 공개 정적인 메소드

public static Disconnect_f ( ) : void
리턴 void

EstablishConnection() 공개 정적인 메소드

CL_EstablishConnection
public static EstablishConnection ( string host ) : void
host string
리턴 void

Init() 공개 정적인 메소드

public static Init ( ) : void
리턴 void

NextDemo() 공개 정적인 메소드

CL_NextDemo Called to play the next demo in the demo loop
public static NextDemo ( ) : void
리턴 void

ReadFromServer() 공개 정적인 메소드

public static ReadFromServer ( ) : int
리턴 int

SendCmd() 공개 정적인 메소드

public static SendCmd ( ) : void
리턴 void

SendMove() 공개 정적인 메소드

public static SendMove ( usercmd_t &cmd ) : void
cmd usercmd_t
리턴 void

StopPlayback() 공개 정적인 메소드

CL_StopPlayback Called when a demo file runs out, or the user starts a game
public static StopPlayback ( ) : void
리턴 void

프로퍼티 상세

NumVisEdicts 공개적으로 정적으로 프로퍼티

public static int NumVisEdicts
리턴 int