C# 클래스 Sharpcraft.Networking.Packets.LoginRequestPacketSC

LoginRequest packet sent by the server to the client after a login request has been accepted.
If login request is denied a DisconnectKickPacket is sent instead.
상속: Packet
파일 보기 프로젝트 열기: SijmenSchoon/Sharpcraft 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Difficulty sbyte
Dimension int
Dimension sbyte
EntityID System.Int32
EntityID int
Gamemode System.Int32
Gamemode int
LevelType string
MapSeed System.Int64
MaxPlayers byte
NotUsed string
WorldHeight byte

공개 메소드들

메소드 설명
LoginRequestPacketSC ( Int32 entityId, System.Int64 mapSeed, string levelType = null, Int32 gamemode, sbyte dimension, sbyte difficulty, byte worldHeight, byte maxPlayers ) : System
LoginRequestPacketSC ( Int32 entityId, string notUsed = "", string levelType = null, Int32 gamemode, Int32 dimension, sbyte difficulty, byte worldHeight, byte maxPlayers ) : System

Initialize a new LoginRequestPacketSC.

메소드 상세

LoginRequestPacketSC() 공개 메소드

public LoginRequestPacketSC ( Int32 entityId, System.Int64 mapSeed, string levelType = null, Int32 gamemode, sbyte dimension, sbyte difficulty, byte worldHeight, byte maxPlayers ) : System
entityId System.Int32
mapSeed System.Int64
levelType string
gamemode System.Int32
dimension sbyte
difficulty sbyte
worldHeight byte
maxPlayers byte
리턴 System

LoginRequestPacketSC() 공개 메소드

Initialize a new LoginRequestPacketSC.
public LoginRequestPacketSC ( Int32 entityId, string notUsed = "", string levelType = null, Int32 gamemode, Int32 dimension, sbyte difficulty, byte worldHeight, byte maxPlayers ) : System
entityId System.Int32 Entity ID of the player.
notUsed string Not Used.
levelType string Level type on the server.
gamemode System.Int32 Game mode on the server.
dimension System.Int32 Current dimension on the server.
difficulty sbyte Difficulty on the server.
worldHeight byte Not Used.
maxPlayers byte Max players the server can hold.
리턴 System

프로퍼티 상세

Difficulty 공개적으로 프로퍼티

public sbyte Difficulty
리턴 sbyte

Dimension 공개적으로 프로퍼티

Current dimension on the server.
-1 = Nether, 0 = Overworld, 1 = The End.
public int Dimension
리턴 int

Dimension 공개적으로 프로퍼티

public sbyte Dimension
리턴 sbyte

EntityID 공개적으로 프로퍼티

public Int32,System EntityID
리턴 System.Int32

EntityID 공개적으로 프로퍼티

Entity ID of the player.
public int EntityID
리턴 int

Gamemode 공개적으로 프로퍼티

public Int32,System Gamemode
리턴 System.Int32

Gamemode 공개적으로 프로퍼티

Game mode on the server.
0 = Survival, 1 = Creative.
public int Gamemode
리턴 int

LevelType 공개적으로 프로퍼티

public string LevelType
리턴 string

MapSeed 공개적으로 프로퍼티

public Int64,System MapSeed
리턴 System.Int64

MaxPlayers 공개적으로 프로퍼티

public byte MaxPlayers
리턴 byte

NotUsed 공개적으로 프로퍼티

public string NotUsed
리턴 string

WorldHeight 공개적으로 프로퍼티

public byte WorldHeight
리턴 byte