C# 클래스 CEngineSharp_Server.World.Entities.Player

상속: IEntity
파일 보기 프로젝트 열기: JohnLamontagne/CEngineSharp 1 사용 예제들

공개 메소드들

메소드 설명
Attack ( IEntity attacker ) : void
Die ( IEntity murderer ) : void
DropItem ( int slotNum ) : void
EnterGame ( ) : void
GetDamage ( ) : int
GetInventory ( ) : System.Item[]
GetPlayerData ( ) : NetBuffer
GetStat ( Stats stat ) : int
GiveItem ( System.Item item ) : void
Interact ( IEntity interactor ) : void
JoinMap ( Map map ) : void
LeaveGame ( ) : void
LeaveMap ( bool leftGame ) : void
MoveTo ( Vector vector, byte direction ) : void
Player ( ) : System
Player ( long index ) : System
RemoveItem ( System.Item item ) : void
RemoveItem ( int slotNum ) : void
Save ( string filePath ) : void
SendInventory ( ) : void
SendMessage ( string message ) : void
SendPlayerData ( ) : void
SendVitals ( ) : void
SetStat ( Stats stat, int value ) : void
TryPickupItem ( Vector mapItemPos ) : void

비공개 메소드들

메소드 설명
Respawn ( ) : void

메소드 상세

Attack() 공개 메소드

public Attack ( IEntity attacker ) : void
attacker IEntity
리턴 void

Die() 공개 메소드

public Die ( IEntity murderer ) : void
murderer IEntity
리턴 void

DropItem() 공개 메소드

public DropItem ( int slotNum ) : void
slotNum int
리턴 void

EnterGame() 공개 메소드

public EnterGame ( ) : void
리턴 void

GetDamage() 공개 메소드

public GetDamage ( ) : int
리턴 int

GetInventory() 공개 메소드

public GetInventory ( ) : System.Item[]
리턴 System.Item[]

GetPlayerData() 공개 메소드

public GetPlayerData ( ) : NetBuffer
리턴 Lidgren.Network.NetBuffer

GetStat() 공개 메소드

public GetStat ( Stats stat ) : int
stat Stats
리턴 int

GiveItem() 공개 메소드

public GiveItem ( System.Item item ) : void
item System.Item
리턴 void

Interact() 공개 메소드

public Interact ( IEntity interactor ) : void
interactor IEntity
리턴 void

JoinMap() 공개 메소드

public JoinMap ( Map map ) : void
map CEngineSharp_Server.World.Maps.Map
리턴 void

LeaveGame() 공개 메소드

public LeaveGame ( ) : void
리턴 void

LeaveMap() 공개 메소드

public LeaveMap ( bool leftGame ) : void
leftGame bool
리턴 void

MoveTo() 공개 메소드

public MoveTo ( Vector vector, byte direction ) : void
vector CEngineSharp_Utilities.Vector
direction byte
리턴 void

Player() 공개 메소드

public Player ( ) : System
리턴 System

Player() 공개 메소드

public Player ( long index ) : System
index long
리턴 System

RemoveItem() 공개 메소드

public RemoveItem ( System.Item item ) : void
item System.Item
리턴 void

RemoveItem() 공개 메소드

public RemoveItem ( int slotNum ) : void
slotNum int
리턴 void

Save() 공개 메소드

public Save ( string filePath ) : void
filePath string
리턴 void

SendInventory() 공개 메소드

public SendInventory ( ) : void
리턴 void

SendMessage() 공개 메소드

public SendMessage ( string message ) : void
message string
리턴 void

SendPlayerData() 공개 메소드

public SendPlayerData ( ) : void
리턴 void

SendVitals() 공개 메소드

public SendVitals ( ) : void
리턴 void

SetStat() 공개 메소드

public SetStat ( Stats stat, int value ) : void
stat Stats
value int
리턴 void

TryPickupItem() 공개 메소드

public TryPickupItem ( Vector mapItemPos ) : void
mapItemPos CEngineSharp_Utilities.Vector
리턴 void