C#Code
C#Code
Static Public Member Functions | Static Public Attributes | Static Private Attributes
TheForum.GameCode.Poster.PosterEventStates Class Reference

List of all members.

Static Public Member Functions

static bool CheckOverwriteState (Libraries.StringType state, Libraries.StringType stateToOverwrite)
static bool CheckStateDisallowsPieceSwap (Libraries.StringType state)
static bool CheckStateDisallowsPosting (Libraries.StringType state)
static void SetStateDisallowsPieceSwap (Libraries.StringType state)
static void SetStateDisallowsPosting (Libraries.StringType state)
static bool CheckOverwriteState (Libraries.StringType state, Libraries.StringType stateToOverwrite)
static bool CheckStateDisallowsPieceSwap (Libraries.StringType state)
static bool CheckStateDisallowsPosting (Libraries.StringType state)
static void SetStateDisallowsPieceSwap (Libraries.StringType state)
static void SetStateDisallowsPosting (Libraries.StringType state)

Static Public Attributes

static readonly
Libraries.StringType 
s_probationState = new Libraries.StringType("Event_State_Probation")
 Poster is in probation.
static readonly
Libraries.StringType 
s_jailState = new Libraries.StringType("Event_State_Jail")
 Poster is in jail.
static readonly
Libraries.StringType 
s_diedState = new Libraries.StringType("Event_State_Died")
 Poster is in dead.
static readonly
Libraries.StringType 
s_permabanState = new Libraries.StringType("Event_State_Permaban")
 Poster is in permaban.
static readonly
Libraries.StringType 
s_wonState = new Libraries.StringType("Event_State_Won")
 Poster won.

Static Private Attributes

static List< Libraries.StringTypes_statesBlockPieceSwapping = new List<Libraries.StringType>()
 Contains the state types that block piece swapping from occuring.
static List< Libraries.StringTypes_statesBlockPosting = new List<Libraries.StringType>()
 Contains the state types that block posting from occuring.

Detailed Description

Event states the poster can be in. Things like probation, durnk post, etc.


Member Function Documentation

static bool TheForum.GameCode.Poster.PosterEventStates.CheckOverwriteState ( Libraries.StringType  state,
Libraries.StringType  stateToOverwrite 
) [static]

Check if a given event state is allowed to overwrite another.

static bool TheForum.GameCode.Poster.PosterEventStates.CheckOverwriteState ( Libraries.StringType  state,
Libraries.StringType  stateToOverwrite 
) [static]

Check if a given event state is allowed to overwrite another.

static bool TheForum.GameCode.Poster.PosterEventStates.CheckStateDisallowsPieceSwap ( Libraries.StringType  state) [static]

Marks the given state as disallowing piece swapping in game.

state - State to check.

Return:
Value is true if the state disallows piece swapping, false if not.
static bool TheForum.GameCode.Poster.PosterEventStates.CheckStateDisallowsPieceSwap ( Libraries.StringType  state) [static]

Marks the given state as disallowing piece swapping in game.

state - State to check.

Return:
Value is true if the state disallows piece swapping, false if not.
static bool TheForum.GameCode.Poster.PosterEventStates.CheckStateDisallowsPosting ( Libraries.StringType  state) [static]

Marks the given state as disallowing posting in game.

state - State to check.

Return:
Value is true if the state disallows posting messages, false if not.
static bool TheForum.GameCode.Poster.PosterEventStates.CheckStateDisallowsPosting ( Libraries.StringType  state) [static]

Marks the given state as disallowing posting in game.

state - State to check.

Return:
Value is true if the state disallows posting messages, false if not.
static void TheForum.GameCode.Poster.PosterEventStates.SetStateDisallowsPieceSwap ( Libraries.StringType  state) [static]

Marks the given state as disallowing piece swapping in game.

state - State to check.

Return:
Value is true if the state allows piece swapping, false if not.
static void TheForum.GameCode.Poster.PosterEventStates.SetStateDisallowsPieceSwap ( Libraries.StringType  state) [static]

Marks the given state as disallowing piece swapping in game.

state - State to check.

Return:
Value is true if the state allows piece swapping, false if not.
static void TheForum.GameCode.Poster.PosterEventStates.SetStateDisallowsPosting ( Libraries.StringType  state) [static]

Marks the given state as disallowing posting in game.

state - State to check.

Return:
Value is true if the state allows piece swapping, false if not.
static void TheForum.GameCode.Poster.PosterEventStates.SetStateDisallowsPosting ( Libraries.StringType  state) [static]

Marks the given state as disallowing posting in game.

state - State to check.

Return:
Value is true if the state allows piece swapping, false if not.

Member Data Documentation

Poster is in dead.

Poster is in jail.

static readonly Libraries StringType TheForum::GameCode::Poster.PosterEventStates::s_permabanState = new Libraries.StringType("Event_State_Permaban") [static]

Poster is in permaban.

static readonly Libraries StringType TheForum::GameCode::Poster.PosterEventStates::s_probationState = new Libraries.StringType("Event_State_Probation") [static]

Poster is in probation.

Contains the state types that block piece swapping from occuring.

Contains the state types that block posting from occuring.

static readonly Libraries StringType TheForum::GameCode::Poster.PosterEventStates::s_wonState = new Libraries.StringType("Event_State_Won") [static]

Poster won.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Enumerations Properties