Mod Helpers  v5.9.6
A centralized collection of library code, helpful services, and end-user functions for mod management and information.
HamstarHelpers.Helpers.Tiles Namespace Reference

Classes

class  TileBiomeHelpers
 Assorted static "helper" functions pertaining to tiles as relevant to biomes. More...
 
class  TileFinderHelpers
 Assorted static "helper" functions pertaining to tile finding. More...
 
class  TileFrameHelpers
 Assorted static "helper" functions pertaining to tile frames. More...
 
class  TileGroupIdentityHelpers
 Assorted static "helper" functions pertaining to tile group identification. More...
 
class  TileHelpers
 Assorted static "helper" functions pertaining to tiles. More...
 
class  TileObjectHelpers
 Assorted static "helper" functions pertaining to tile objects. More...
 
class  TilePlacementHelpers
 Assorted static "helper" functions pertaining to tile placement (convenience bindings for WorldGen). More...
 
class  TileResourceHelpers
 Assorted static "helper" functions pertaining to players relative to Tile resources (e.g. textures). More...
 
class  TileStateHelpers
 Assorted static "helper" functions pertaining to tile state (slope, actuation, etc.). More...
 
class  TileWorldHelpers
 Assorted static "helper" functions pertaining to tiles relative to the world. More...
 

Enumerations

enum  TileSlopeType : byte {
  TileSlopeType.None = 0, TileSlopeType.TopRightSlope = 1, TileSlopeType.TopLeftSlope = 2, TileSlopeType.BottomRightSlope = 3,
  TileSlopeType.BottomLeftSlope = 4
}
 
enum  TileShapeType {
  TileShapeType.None = 0, TileShapeType.Any = -1, TileShapeType.TopRightSlope = 1, TileShapeType.TopLeftSlope = 2,
  TileShapeType.BottomRightSlope = 4, TileShapeType.BottomLeftSlope = 8, TileShapeType.TopSlope = TopRightSlope + TopLeftSlope, TileShapeType.BottomSlope = BottomRightSlope + BottomLeftSlope,
  TileShapeType.LeftSlope = TopLeftSlope + BottomLeftSlope, TileShapeType.RightSlope = TopRightSlope + BottomRightSlope, TileShapeType.HalfBrick = 16
}
 
enum  TileChangeNetMessageType : int {
  TileChangeNetMessageType.KillTile = 0, TileChangeNetMessageType.PlaceTile = 1, TileChangeNetMessageType.KillWall = 2, TileChangeNetMessageType.PlaceWall = 3,
  TileChangeNetMessageType.KillTileNoItem = 4, TileChangeNetMessageType.PlaceWire = 5, TileChangeNetMessageType.KillWire = 6, TileChangeNetMessageType.PoundTile = 7,
  TileChangeNetMessageType.PlaceActuator = 8, TileChangeNetMessageType.KillActuator = 9, TileChangeNetMessageType.PlaceWire2 = 10, TileChangeNetMessageType.KillWire2 = 11,
  TileChangeNetMessageType.PlaceWire3 = 12, TileChangeNetMessageType.KillWire3 = 13, TileChangeNetMessageType.SlopeTile = 14, TileChangeNetMessageType.FrameTrack = 15,
  TileChangeNetMessageType.PlaceWire4 = 16, TileChangeNetMessageType.KillWire4 = 17, TileChangeNetMessageType.PokeLogicGate = 18, TileChangeNetMessageType.Actuate = 19
}
 Credit to https://tshock.readme.io/docs/multiplayer-packet-structure More...
 

Enumeration Type Documentation

◆ TileChangeNetMessageType

Credit to https://tshock.readme.io/docs/multiplayer-packet-structure

Enumerator
KillTile 
PlaceTile 
KillWall 
PlaceWall 
KillTileNoItem 
PlaceWire 
KillWire 
PoundTile 
PlaceActuator 
KillActuator 
PlaceWire2 
KillWire2 
PlaceWire3 
KillWire3 
SlopeTile 
FrameTrack 
PlaceWire4 
KillWire4 
PokeLogicGate 
Actuate 

Definition at line 55 of file TileStateHelpers.cs.

◆ TileShapeType

Enumerator
None 
Any 
TopRightSlope 
TopLeftSlope 
BottomRightSlope 
BottomLeftSlope 
TopSlope 
BottomSlope 
LeftSlope 
RightSlope 
HalfBrick 

Definition at line 25 of file TileStateHelpers.cs.

◆ TileSlopeType

Enumerator
None 
TopRightSlope 
TopLeftSlope 
BottomRightSlope 
BottomLeftSlope 

Definition at line 8 of file TileStateHelpers.cs.