C# Class fCraft.VoteHandler

Show file Open project: GlennMR/800craft

Public Properties

Property Type Description
Question string
TargetName string
Usage string
VoteIsOn bool
VoteKickReason string
VoteStarter string
VoteThread Thread
Voted List
VotedNo int
VotedYes int

Public Methods

Method Description
NewVote ( ) : void
VoteParams ( Player player, Command cmd ) : void

Private Methods

Method Description
VoteCheck ( ) : void
VoteKickCheck ( ) : void

Method Details

NewVote() public static method

public static NewVote ( ) : void
return void

VoteParams() public static method

public static VoteParams ( Player player, Command cmd ) : void
player Player
cmd Command
return void

Property Details

Question public static property

public static string Question
return string

TargetName public static property

public static string TargetName
return string

Usage public static property

public static string Usage
return string

VoteIsOn public static property

public static bool VoteIsOn
return bool

VoteKickReason public static property

public static string VoteKickReason
return string

VoteStarter public static property

public static string VoteStarter
return string

VoteThread public static property

public static Thread VoteThread
return Thread

Voted public static property

public static List Voted
return List

VotedNo public static property

public static int VotedNo
return int

VotedYes public static property

public static int VotedYes
return int