Свойство | Тип | Описание | |
---|---|---|---|
AuthToken | int | ||
Backups | |||
Bans | BanManager | ||
CharacterDB | |||
DB | IDbConnection | ||
Geo | |||
Groups | TShockAPI.DB.GroupManager | ||
Itembans | ItemManager | ||
Log | ILog | ||
OverridePort | bool | ||
Players | TShockAPI.TSPlayer[] | ||
ProjectileBans | ProjectileManagager | ||
RESTStartupTokens | SecureRest.TokenData>.Dictionary | ||
Regions | RegionManager | ||
RememberedPos | |||
RestApi | |||
RestManager | |||
SavePath | string | ||
ServerSideCharacterConfig | ServerSideConfig | ||
ShuttingDown | bool | ||
StatTracker | |||
TileBans | TileManager | ||
UpdateManager | TShockAPI.UpdateManager | ||
Users | |||
Utils | Utils | ||
VersionCodename | string | ||
VersionNum | System.Version | ||
Warps | |||
instance | TerrariaPlugin |
Метод | Описание | |
---|---|---|
CheckIgnores ( TShockAPI.TSPlayer player ) : bool |
CheckIgnores - Checks a players ignores...?
|
|
CheckProjectilePermission ( TShockAPI.TSPlayer player, int index, int type ) : bool |
CheckProjectilePermission - Checks if a projectile is banned.
|
|
CheckRangePermission ( TShockAPI.TSPlayer player, int x, int y, int range = 32 ) : bool |
CheckRangePermission - Checks if a player has permission to modify a tile dependent on range checks.
|
|
CheckSpawn ( int x, int y ) : bool |
CheckSpawn - Checks to see if a location is inside the spawn protection zone.
|
|
CheckTilePermission ( TShockAPI.TSPlayer player, int tileX, int tileY, bool paint = false ) : bool |
CheckTilePermission - Checks to see if a player has the ability to modify a tile at a given position.
|
|
CheckTilePermission ( TShockAPI.TSPlayer player, int tileX, int tileY, short tileType, |
CheckTilePermission - Checks to see if a player has permission to modify a tile in general.
|
|
Distance ( Vector2 value1, Vector2 value2 ) : float |
Distance - Determines the distance between two vectors.
|
|
HackedInventory ( TShockAPI.TSPlayer player ) : bool |
HackedInventory - Checks to see if a user has a hacked inventory. In addition, messages players the result.
|
|
HandleCommandLinePostConfigLoad ( string parms ) : void |
HandleCommandLinePostConfigLoad - Handles additional command line options after the config file is read.
|
|
OnConfigRead ( |
OnConfigRead - Fired when the config file has been read.
|
|
StartInvasion ( int type ) : void |
StartInvasion - Starts an invasion on the server.
|
|
TShock ( Terraria.Main game ) : System |
TShock - The constructor for the TShock plugin.
|
Метод | Описание | |
---|---|---|
CrashReporter_HeapshotRequesting ( object sender, |
||
Dispose ( bool disposing ) : void |
Dispose - Called when disposing.
|
Метод | Описание | |
---|---|---|
ComputeMaxStyles ( ) : void |
ComputeMaxStyles - Computes the max styles...
|
|
CurrentDomain_UnhandledException ( object sender, |
Handles exceptions that we didn't catch earlier in the code, or in Terraria.
|
|
FixChestStacks ( ) : void |
FixChestStacks - Verifies that each stack in each chest is valid and not over the max stack count.
|
|
HandleCommandLine ( string parms ) : void |
HandleCommandLine - Handles the command line parameters passed to the server.
|
|
Initialize ( ) : void | ||
NetHooks_NameCollision ( NameCollisionEventArgs args ) : void |
NetHooks_NameCollision - Internal hook fired when a name collision happens.
|
|
NetHooks_SendData ( Hooks.SendDataEventArgs e ) : void |
NetHooks_SendData - Fired when the server sends data.
|
|
NpcHooks_OnStrikeNpc ( Hooks.NpcStrikeEventArgs e ) : void |
NpcHooks_OnStrikeNpc - Fired when an NPC strike packet happens.
|
|
OnAccountCreate ( Hooks args ) : void |
OnAccountCreate - Internal hook fired on account creation.
|
|
OnAccountDelete ( Hooks args ) : void |
OnAccountDelete - Internal hook fired on account delete.
|
|
OnChat ( ServerChatEventArgs args ) : void |
OnChat - Fired when a player chats. Used for handling chat and commands.
|
|
OnConnect ( ConnectEventArgs args ) : void |
OnConnect - Fired when a player connects to the server.
|
|
OnGetData ( Hooks.GetDataEventArgs e ) : void |
OnGetData - Called when the server gets raw data packets.
|
|
OnGreetPlayer ( GreetPlayerEventArgs args ) : void |
OnGreetPlayer - Fired when a player is greeted by the server. Handles things like the MOTD, join messages, etc.
|
|
OnHalloweenCheck ( HalloweenCheckEventArgs args ) : void |
OnHalloweenCheck - Internal hook fired when the HalloweenCheck happens.
|
|
OnHardUpdate ( HardmodeTileUpdateEventArgs args ) : void |
OnHardUpdate - Fired when a hardmode tile update event happens.
|
|
OnItemForceIntoChest ( ForceItemIntoChestEventArgs args ) : void |
OnItemForceIntoChest - Internal hook fired when a player quick stacks items into a chest.
|
|
OnJoin ( JoinEventArgs args ) : void |
OnJoin - Internal hook called when a player joins. This is called after OnConnect.
|
|
OnLeave ( LeaveEventArgs args ) : void |
OnLeave - Called when a player leaves the server.
|
|
OnPlayerLogin ( PlayerPostLoginEventArgs args ) : void |
OnPlayerLogin - Fires the PlayerLogin hook to listening plugins.
|
|
OnPlayerPreLogin ( Hooks args ) : void |
OnPlayerPreLogin - Internal hook fired when on player pre login.
|
|
OnPostInit ( |
OnPostInit - Fired when the server loads a map, to perform world specific operations.
|
|
OnProjectileSetDefaults ( int>.SetDefaultsEventArgs |
OnProjectileSetDefaults - Called when a projectile sets the default attributes for itself.
|
|
OnSecondUpdate ( ) : void |
OnSecondUpdate - Called effectively every second for all time based checks.
|
|
OnStartHardMode ( |
OnStartHardMode - Fired when hard mode is started.
|
|
OnStatueSpawn ( Hooks.StatueSpawnEventArgs args ) : void |
OnStatueSpawn - Fired when a statue spawns.
|
|
OnUpdate ( |
OnUpdate - Called when ever the server ticks.
|
|
OnXmasCheck ( Hooks.ChristmasCheckEventArgs args ) : void |
OnXmasCheck - Internal hook fired when the XMasCheck happens.
|
|
ServerHooks_OnCommand ( CommandEventArgs args ) : void |
Called when a command is issued from the server console.
|
|
SetConsoleTitle ( bool empty ) : void |
SetConsoleTitle - Updates the console title with some pertinent information.
|
public static CheckIgnores ( TShockAPI.TSPlayer player ) : bool | ||
player | TShockAPI.TSPlayer | player - The TSPlayer object. |
Результат | bool |
public static CheckProjectilePermission ( TShockAPI.TSPlayer player, int index, int type ) : bool | ||
player | TShockAPI.TSPlayer | player - The TSPlayer object that created the projectile. |
index | int | index - The projectile index. |
type | int | type - The projectile type. |
Результат | bool |
public static CheckRangePermission ( TShockAPI.TSPlayer player, int x, int y, int range = 32 ) : bool | ||
player | TShockAPI.TSPlayer | player - The TSPlayer object. |
x | int | x - The x coordinate of the tile. |
y | int | y - The y coordinate of the tile. |
range | int | range - The range to check for. |
Результат | bool |
public static CheckSpawn ( int x, int y ) : bool | ||
x | int | x - The x coordinate to check. |
y | int | y - The y coordinate to check. |
Результат | bool |
public static CheckTilePermission ( TShockAPI.TSPlayer player, int tileX, int tileY, bool paint = false ) : bool | ||
player | TShockAPI.TSPlayer | player - The TSPlayer object. |
tileX | int | tileX - The x coordinate of the tile. |
tileY | int | tileY - The y coordinate of the tile. |
paint | bool | paint - Whether or not the tile is paint. |
Результат | bool |
public static CheckTilePermission ( TShockAPI.TSPlayer player, int tileX, int tileY, short tileType, |
||
player | TShockAPI.TSPlayer | player - The TSPlayer object. |
tileX | int | tileX - The x coordinate of the tile. |
tileY | int | tileY - The y coordinate of the tile. |
tileType | short | tileType - The tile type. |
actionType | actionType - The type of edit that took place. | |
Результат | bool |
protected CrashReporter_HeapshotRequesting ( object sender, |
||
sender | object | |
e | ||
Результат | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | disposing - If set, disposes of all hooks and other systems. |
Результат | void |
public static Distance ( Vector2 value1, Vector2 value2 ) : float | ||
value1 | Vector2 | value1 - The first vector location. |
value2 | Vector2 | value2 - The second vector location. |
Результат | float |
public static HackedInventory ( TShockAPI.TSPlayer player ) : bool | ||
player | TShockAPI.TSPlayer | player - The TSPlayer object. |
Результат | bool |
public static HandleCommandLinePostConfigLoad ( string parms ) : void | ||
parms | string | parms - The array of arguments passed in through the command line. |
Результат | void |
public OnConfigRead ( |
||
file | file - The config file object. | |
Результат | void |
public static StartInvasion ( int type ) : void | ||
type | int | type - The invasion type id. |
Результат | void |
public TShock ( Terraria.Main game ) : System | ||
game | Terraria.Main | game - The Terraria main game. |
Результат | System |
public static BackupManager,TShockAPI Backups | ||
Результат |
public static CharacterManager,TShockAPI.DB CharacterDB | ||
Результат |
public static GeoIPCountry,MaxMind Geo | ||
Результат |
public static GroupManager,TShockAPI.DB Groups | ||
Результат | TShockAPI.DB.GroupManager |
public static TSPlayer[],TShockAPI Players | ||
Результат | TShockAPI.TSPlayer[] |
public static ProjectileManagager ProjectileBans | ||
Результат | ProjectileManagager |
public static Dictionary |
||
Результат | SecureRest.TokenData>.Dictionary |
public static RememberedPosManager,TShockAPI.DB RememberedPos | ||
Результат |
public static SecureRest,Rests RestApi | ||
Результат |
public static RestManager,TShockAPI RestManager | ||
Результат |
public static ServerSideConfig ServerSideCharacterConfig | ||
Результат | ServerSideConfig |
public static StatTracker,TShockAPI StatTracker | ||
Результат |
public static UpdateManager,TShockAPI UpdateManager | ||
Результат | TShockAPI.UpdateManager |
public static UserManager,TShockAPI.DB Users | ||
Результат |
public static string VersionCodename | ||
Результат | string |
public static Version,System VersionNum | ||
Результат | System.Version |
public static WarpManager,TShockAPI.DB Warps | ||
Результат |