C# Class MCLawl.Awards

ファイルを表示 Open project: dekema2/MCDek Class Usage Examples

Public Properties

Property Type Description
allAwards List
playersAwards List

Public Methods

Method Description
Load ( ) : void
Save ( ) : void
addAward ( string awardName, string awardDescription ) : bool
awardAmount ( string playerName ) : string
awardExists ( string awardName ) : bool
camelCase ( string givenName ) : string
getDescription ( string awardName ) : string
getPlayersAwards ( string playerName ) : List
giveAward ( string playerName, string awardName ) : bool
removeAward ( string awardName ) : bool
takeAward ( string playerName, string awardName ) : bool

Method Details

Load() public static method

public static Load ( ) : void
return void

Save() public static method

public static Save ( ) : void
return void

addAward() public static method

public static addAward ( string awardName, string awardDescription ) : bool
awardName string
awardDescription string
return bool

awardAmount() public static method

public static awardAmount ( string playerName ) : string
playerName string
return string

awardExists() public static method

public static awardExists ( string awardName ) : bool
awardName string
return bool

camelCase() public static method

public static camelCase ( string givenName ) : string
givenName string
return string

getDescription() public static method

public static getDescription ( string awardName ) : string
awardName string
return string

getPlayersAwards() public static method

public static getPlayersAwards ( string playerName ) : List
playerName string
return List

giveAward() public static method

public static giveAward ( string playerName, string awardName ) : bool
playerName string
awardName string
return bool

removeAward() public static method

public static removeAward ( string awardName ) : bool
awardName string
return bool

takeAward() public static method

public static takeAward ( string playerName, string awardName ) : bool
playerName string
awardName string
return bool

Property Details

allAwards public_oe static_oe property

public static List allAwards
return List

playersAwards public_oe static_oe property

public static List playersAwards
return List