C# 클래스 Pluton.Player

상속: Entity
파일 보기 프로젝트 열기: Notulp/Pluton 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
GameID ulong
SteamID string
firstLocations Vector3[]
worldSizeHalf float

공개 메소드들

메소드 설명
Ban ( string reason = "no reason" ) : void
ConsoleMessage ( string msg ) : void
Find ( string nameOrSteamidOrIP ) : Player
FindByGameID ( ulong steamID ) : Player
FindBySteamID ( string steamID ) : Player
GetLookBuildingPart ( float maxDist = 500f ) : BuildingPart
GetLookHit ( float maxDist = 500f, int layers = Physics.AllLayers ) : RaycastHit
GetLookPlayer ( float maxDist = 500f ) : Player
GetLookPoint ( float maxDist = 500f ) : Vector3
GroundTeleport ( Vector3 v3 ) : bool
GroundTeleport ( float x, float y, float z ) : bool
IsPlayer ( ) : bool
Kick ( string reason = "no reason" ) : void
Kill ( ) : void
KnownBlueprints ( ) : List
KnowsBlueprint ( ItemBlueprint itembp ) : bool
KnowsBlueprint ( ItemDefinition itemdef ) : bool
KnowsBlueprint ( int itemID ) : bool
KnowsBlueprints ( IEnumerable itemBPs ) : bool>.Dictionary
KnowsBlueprints ( IEnumerable itemdefs ) : bool>.Dictionary
KnowsBlueprints ( IEnumerable itemIDs ) : bool>.Dictionary
LearnBlueprint ( ItemBlueprint itembp ) : bool
LearnBlueprint ( ItemDefinition itemdef ) : bool
LearnBlueprint ( int itemID ) : bool
LearnBlueprints ( IEnumerable itembps ) : void
LearnBlueprints ( IEnumerable itemdefs ) : void
LearnBlueprints ( IEnumerable itemIDs ) : void
MakeModerator ( string reason = "no reason" ) : void
MakeNone ( string reason = "no reason" ) : void
MakeOwner ( string reason = "no reason" ) : void
Message ( string msg ) : void
MessageFrom ( string from, string msg ) : void
Player ( BasePlayer player ) : System
Reject ( string reason = "no reason" ) : void
SendConsoleCommand ( string cmd ) : void
Teleport ( Vector3 v3 ) : bool
Teleport ( float x, float y, float z ) : bool

비공개 메소드들

메소드 설명
OnPlayerDeserialized ( StreamingContext context ) : void

메소드 상세

Ban() 공개 메소드

public Ban ( string reason = "no reason" ) : void
reason string
리턴 void

ConsoleMessage() 공개 메소드

public ConsoleMessage ( string msg ) : void
msg string
리턴 void

Find() 공개 정적인 메소드

public static Find ( string nameOrSteamidOrIP ) : Player
nameOrSteamidOrIP string
리턴 Player

FindByGameID() 공개 정적인 메소드

public static FindByGameID ( ulong steamID ) : Player
steamID ulong
리턴 Player

FindBySteamID() 공개 정적인 메소드

public static FindBySteamID ( string steamID ) : Player
steamID string
리턴 Player

GetLookBuildingPart() 공개 메소드

public GetLookBuildingPart ( float maxDist = 500f ) : BuildingPart
maxDist float
리턴 BuildingPart

GetLookHit() 공개 메소드

public GetLookHit ( float maxDist = 500f, int layers = Physics.AllLayers ) : RaycastHit
maxDist float
layers int
리턴 UnityEngine.RaycastHit

GetLookPlayer() 공개 메소드

public GetLookPlayer ( float maxDist = 500f ) : Player
maxDist float
리턴 Player

GetLookPoint() 공개 메소드

public GetLookPoint ( float maxDist = 500f ) : Vector3
maxDist float
리턴 Vector3

GroundTeleport() 공개 메소드

public GroundTeleport ( Vector3 v3 ) : bool
v3 Vector3
리턴 bool

GroundTeleport() 공개 메소드

public GroundTeleport ( float x, float y, float z ) : bool
x float
y float
z float
리턴 bool

IsPlayer() 공개 메소드

public IsPlayer ( ) : bool
리턴 bool

Kick() 공개 메소드

public Kick ( string reason = "no reason" ) : void
reason string
리턴 void

Kill() 공개 메소드

public Kill ( ) : void
리턴 void

KnownBlueprints() 공개 메소드

public KnownBlueprints ( ) : List
리턴 List

KnowsBlueprint() 공개 메소드

public KnowsBlueprint ( ItemBlueprint itembp ) : bool
itembp ItemBlueprint
리턴 bool

KnowsBlueprint() 공개 메소드

public KnowsBlueprint ( ItemDefinition itemdef ) : bool
itemdef ItemDefinition
리턴 bool

KnowsBlueprint() 공개 메소드

public KnowsBlueprint ( int itemID ) : bool
itemID int
리턴 bool

KnowsBlueprints() 공개 메소드

public KnowsBlueprints ( IEnumerable itemBPs ) : bool>.Dictionary
itemBPs IEnumerable
리턴 bool>.Dictionary

KnowsBlueprints() 공개 메소드

public KnowsBlueprints ( IEnumerable itemdefs ) : bool>.Dictionary
itemdefs IEnumerable
리턴 bool>.Dictionary

KnowsBlueprints() 공개 메소드

public KnowsBlueprints ( IEnumerable itemIDs ) : bool>.Dictionary
itemIDs IEnumerable
리턴 bool>.Dictionary

LearnBlueprint() 공개 메소드

public LearnBlueprint ( ItemBlueprint itembp ) : bool
itembp ItemBlueprint
리턴 bool

LearnBlueprint() 공개 메소드

public LearnBlueprint ( ItemDefinition itemdef ) : bool
itemdef ItemDefinition
리턴 bool

LearnBlueprint() 공개 메소드

public LearnBlueprint ( int itemID ) : bool
itemID int
리턴 bool

LearnBlueprints() 공개 메소드

public LearnBlueprints ( IEnumerable itembps ) : void
itembps IEnumerable
리턴 void

LearnBlueprints() 공개 메소드

public LearnBlueprints ( IEnumerable itemdefs ) : void
itemdefs IEnumerable
리턴 void

LearnBlueprints() 공개 메소드

public LearnBlueprints ( IEnumerable itemIDs ) : void
itemIDs IEnumerable
리턴 void

MakeModerator() 공개 메소드

public MakeModerator ( string reason = "no reason" ) : void
reason string
리턴 void

MakeNone() 공개 메소드

public MakeNone ( string reason = "no reason" ) : void
reason string
리턴 void

MakeOwner() 공개 메소드

public MakeOwner ( string reason = "no reason" ) : void
reason string
리턴 void

Message() 공개 메소드

public Message ( string msg ) : void
msg string
리턴 void

MessageFrom() 공개 메소드

public MessageFrom ( string from, string msg ) : void
from string
msg string
리턴 void

Player() 공개 메소드

public Player ( BasePlayer player ) : System
player BasePlayer
리턴 System

Reject() 공개 메소드

public Reject ( string reason = "no reason" ) : void
reason string
리턴 void

SendConsoleCommand() 공개 메소드

public SendConsoleCommand ( string cmd ) : void
cmd string
리턴 void

Teleport() 공개 메소드

public Teleport ( Vector3 v3 ) : bool
v3 Vector3
리턴 bool

Teleport() 공개 메소드

public Teleport ( float x, float y, float z ) : bool
x float
y float
z float
리턴 bool

프로퍼티 상세

GameID 공개적으로 프로퍼티

public ulong GameID
리턴 ulong

SteamID 공개적으로 프로퍼티

public string SteamID
리턴 string

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

public static Vector3[] firstLocations
리턴 Vector3[]

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

public static float worldSizeHalf
리턴 float