C# 클래스 TShockAPI.GetDataHandlers

파일 보기 프로젝트 열기: NyxStudios/TShock 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ChestItemChange HandlerList
ChestOpen HandlerList
GemLockToggle HandlerList
ItemDrop HandlerList
KillMe HandlerList
LiquidSet HandlerList
MaxPlaceStyles int>.Dictionary
NPCHome HandlerList
NPCSpecial HandlerList
NPCStrike HandlerList
NewProjectile HandlerList
PaintTile HandlerList
PaintWall HandlerList
PlayerAnimation HandlerList
PlayerBuff HandlerList
PlayerBuffUpdate HandlerList
PlayerDamage HandlerList
PlayerHP HandlerList
PlayerInfo HandlerList
PlayerMana HandlerList
PlayerSlot HandlerList
PlayerSpawn HandlerList
PlayerTeam HandlerList
PlayerUpdate HandlerList
SendTileSquare HandlerList
Sign HandlerList
Teleport HandlerList
TileEdit HandlerList
TileKill HandlerList
TogglePvp HandlerList
WhitelistBuffMaxTime int[]

공개 메소드들

메소드 설명
HandlePlayerHp ( GetDataHandlerArgs args ) : bool
HandlerGetData ( PacketTypes type, TShockAPI.TSPlayer player, MemoryStream data ) : bool
InitGetDataHandler ( ) : void
TSCheckNoclip ( Vector2 Position, int Width, int Height ) : bool

비공개 메소드들

메소드 설명
HandleCatchNpc ( GetDataHandlerArgs args ) : bool
HandleChestActive ( GetDataHandlerArgs args ) : bool
HandleChestItem ( GetDataHandlerArgs args ) : bool
HandleChestOpen ( GetDataHandlerArgs args ) : bool
HandleCompleteAnglerQuest ( GetDataHandlerArgs args ) : bool
HandleConnecting ( GetDataHandlerArgs args ) : bool
HandleDoorUse ( GetDataHandlerArgs args ) : bool
HandleGemLockToggle ( GetDataHandlerArgs args ) : bool
HandleGetSection ( GetDataHandlerArgs args ) : bool
HandleItemDrop ( GetDataHandlerArgs args ) : bool
HandleItemOwner ( GetDataHandlerArgs args ) : bool
HandleKillPortal ( GetDataHandlerArgs args ) : bool
HandleLiquidSet ( GetDataHandlerArgs args ) : bool
HandleLoadNetModule ( GetDataHandlerArgs args ) : bool
HandleMassWireOperation ( GetDataHandlerArgs args ) : bool
HandleNpcStrike ( GetDataHandlerArgs args ) : bool
HandleNpcTeleportPortal ( GetDataHandlerArgs args ) : bool
HandleNumberOfAnglerQuestsCompleted ( GetDataHandlerArgs args ) : bool
HandlePaintTile ( GetDataHandlerArgs args ) : bool
HandlePaintWall ( GetDataHandlerArgs args ) : bool
HandlePassword ( GetDataHandlerArgs args ) : bool
HandlePlaceItemFrame ( GetDataHandlerArgs args ) : bool
HandlePlaceObject ( GetDataHandlerArgs args ) : bool

Handle PlaceObject event

HandlePlaceTileEntity ( GetDataHandlerArgs args ) : bool
HandlePlayerAddBuff ( GetDataHandlerArgs args ) : bool
HandlePlayerAnimation ( GetDataHandlerArgs args ) : bool
HandlePlayerBuffList ( GetDataHandlerArgs args ) : bool
HandlePlayerDamage ( GetDataHandlerArgs args ) : bool
HandlePlayerInfo ( GetDataHandlerArgs args ) : bool
HandlePlayerKillMe ( GetDataHandlerArgs args ) : bool
HandlePlayerMana ( GetDataHandlerArgs args ) : bool
HandlePlayerSlot ( GetDataHandlerArgs args ) : bool
HandlePlayerTeam ( GetDataHandlerArgs args ) : bool
HandlePlayerUpdate ( GetDataHandlerArgs args ) : bool
HandleProjectileKill ( GetDataHandlerArgs args ) : bool
HandleProjectileNew ( GetDataHandlerArgs args ) : bool
HandleSendTileSquare ( GetDataHandlerArgs args ) : bool
HandleSign ( GetDataHandlerArgs args ) : bool
HandleSpawn ( GetDataHandlerArgs args ) : bool
HandleSpawnBoss ( GetDataHandlerArgs args ) : bool
HandleSpecial ( GetDataHandlerArgs args ) : bool
HandleSyncExtraValue ( GetDataHandlerArgs args ) : bool
HandleTeleport ( GetDataHandlerArgs args ) : bool
HandleTile ( GetDataHandlerArgs args ) : bool
HandleTileKill ( GetDataHandlerArgs args ) : bool
HandleToggleParty ( GetDataHandlerArgs args ) : bool
HandleTogglePvp ( GetDataHandlerArgs args ) : bool
OnChestItemChange ( short id, byte slot, short stacks, byte prefix, short type ) : bool
OnChestOpen ( int x, int y, TShockAPI.TSPlayer player ) : bool
OnGemLockToggle ( Int32 x, Int32 y, bool on ) : bool
OnItemDrop ( short id, Vector2 pos, Vector2 vel, short stacks, byte prefix, bool noDelay, short type ) : bool
OnKillMe ( byte plr, byte direction, short damage, bool pvp ) : bool
OnLiquidSet ( int tilex, int tiley, byte amount, byte type ) : bool
OnNPCSpecial ( byte id, byte type ) : bool
OnNPCStrike ( short id, byte dir, short dmg, float knockback, byte crit ) : bool
OnNewProjectile ( short ident, Vector2 pos, Vector2 vel, float knockback, short dmg, byte owner, short type, int index ) : bool
OnPaintTile ( Int32 x, Int32 y, byte t ) : bool
OnPaintWall ( Int32 x, Int32 y, byte t ) : bool
OnPlayerAnimation ( ) : bool
OnPlayerBuff ( byte id, byte type, short time ) : bool
OnPlayerBuffUpdate ( byte id ) : bool
OnPlayerDamage ( byte id, byte dir, short dmg, bool pvp, bool crit ) : bool
OnPlayerHP ( byte _plr, short _cur, short _max ) : bool
OnPlayerInfo ( byte _plrid, byte _hair, int _style, byte _difficulty, string _name ) : bool
OnPlayerMana ( byte _plr, short _cur, short _max ) : bool
OnPlayerSlot ( byte _plr, byte _slot, short _stack, byte _prefix, short _type ) : bool
OnPlayerSpawn ( byte player, int spawnX, int spawnY ) : bool
OnPlayerTeam ( byte _id, byte _team ) : bool
OnPlayerUpdate ( byte player, byte control, byte item, Vector2 position, Vector2 velocity, byte pulley ) : bool
OnPvpToggled ( byte _id, bool _pvp ) : bool
OnSendTileSquare ( short size, int tilex, int tiley ) : bool
OnSignEvent ( short id, int x, int y ) : bool
OnTeleport ( Int16 id, byte f, float x, float y ) : bool
OnTileEdit ( TShockAPI.TSPlayer ply, int x, int y, EditAction action, EditType editDetail, short editData, byte style ) : bool
OnTileKill ( int tilex, int tiley ) : bool
OnUpdateNPCHome ( short id, short x, short y, byte homeless ) : bool
UpdateNPCHome ( GetDataHandlerArgs args ) : bool

메소드 상세

HandlePlayerHp() 공개 정적인 메소드

public static HandlePlayerHp ( GetDataHandlerArgs args ) : bool
args GetDataHandlerArgs
리턴 bool

HandlerGetData() 공개 정적인 메소드

public static HandlerGetData ( PacketTypes type, TShockAPI.TSPlayer player, MemoryStream data ) : bool
type PacketTypes
player TShockAPI.TSPlayer
data System.IO.MemoryStream
리턴 bool

InitGetDataHandler() 공개 정적인 메소드

public static InitGetDataHandler ( ) : void
리턴 void

TSCheckNoclip() 공개 정적인 메소드

public static TSCheckNoclip ( Vector2 Position, int Width, int Height ) : bool
Position Vector2
Width int
Height int
리턴 bool

프로퍼티 상세

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

ChestItemChange - Called when an item in a chest changes
public static HandlerList ChestItemChange
리턴 HandlerList

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

ChestOpen - Called when any chest is opened
public static HandlerList ChestOpen
리턴 HandlerList

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

GemLockToggle - Called when a gem lock is switched
public static HandlerList GemLockToggle
리턴 HandlerList

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

ItemDrop - Called when an item is dropped
public static HandlerList ItemDrop
리턴 HandlerList

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

KillMe - Terraria's crappy way of handling damage from players
public static HandlerList KillMe
리턴 HandlerList

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

LiquidSet - When ever a liquid is set
public static HandlerList LiquidSet
리턴 HandlerList

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

The maximum place styles for each tile.
public static Dictionary MaxPlaceStyles
리턴 int>.Dictionary

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

NPCHome - Called when an NPC's home is changed
public static HandlerList NPCHome
리턴 HandlerList

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

NPCSpecial - Called at some point
public static HandlerList NPCSpecial
리턴 HandlerList

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

NPCStrike - Called when an NPC is attacked
public static HandlerList NPCStrike
리턴 HandlerList

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

NewProjectile - Called when a client creates a new projectile
public static HandlerList NewProjectile
리턴 HandlerList

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

NPCStrike - Called when an NPC is attacked
public static HandlerList PaintTile
리턴 HandlerList

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

Called When a wall is painted
public static HandlerList PaintWall
리턴 HandlerList

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

PlayerAnimation - Called when a player animates
public static HandlerList PlayerAnimation
리턴 HandlerList

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

PlayerBuff - Called when a player is buffed
public static HandlerList PlayerBuff
리턴 HandlerList

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

PlayerBuffUpdate - Called when a player updates buffs
public static HandlerList PlayerBuffUpdate
리턴 HandlerList

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

PlayerDamage - Called when a player is damaged
public static HandlerList PlayerDamage
리턴 HandlerList

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

PlayerHP - called at a PlayerHP event
public static HandlerList PlayerHP
리턴 HandlerList

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

PlayerInfo - called at a PlayerInfo event If this is cancelled, the server will ForceKick the player. If this should be changed in the future, let someone know.
public static HandlerList PlayerInfo
리턴 HandlerList

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

PlayerMana - called at a PlayerMana event
public static HandlerList PlayerMana
리턴 HandlerList

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

PlayerSlot - called at a PlayerSlot event
public static HandlerList PlayerSlot
리턴 HandlerList

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

PlayerSpawn - When a player spawns
public static HandlerList PlayerSpawn
리턴 HandlerList

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

TogglePvp - called when a player toggles pvp
public static HandlerList PlayerTeam
리턴 HandlerList

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

PlayerUpdate - When the player sends it's updated information to the server
public static HandlerList PlayerUpdate
리턴 HandlerList

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

SendTileSquare - When the player sends a tile square
public static HandlerList SendTileSquare
리턴 HandlerList

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

Sign - Called when a sign is changed
public static HandlerList Sign
리턴 HandlerList

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

NPCStrike - Called when an NPC is attacked
public static HandlerList Teleport
리턴 HandlerList

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

TileEdit - called when a tile is placed or destroyed
public static HandlerList TileEdit
리턴 HandlerList

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

TileKill - When a tile is removed from the world
public static HandlerList TileKill
리턴 HandlerList

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

TogglePvp - called when a player toggles pvp
public static HandlerList TogglePvp
리턴 HandlerList

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

public static int[] WhitelistBuffMaxTime
리턴 int[]