C# Class MapServer.LegionManager

ファイルを表示 Open project: dream-young-soul/soul Class Usage Examples

Public Methods

Method Description
AddMember ( uint legion_id, PlayerObject play ) : void
ChangeMemberPlace ( uint legion_id, String play_name, short place ) : void
CreateLegion ( int player_id, String legion_name, String leader_name, byte title, long money, String notice ) : void
CreateLegion_Ret ( CreateLegion_Ret info ) : void
DB_Load ( LEGIONINFO info ) : void
GetLegion ( uint id ) : Legion
GetPlayerLegion ( String playername ) : Legion
Instance ( ) : LegionManager
IsExist ( String legionname ) : bool
LegionManager ( ) : System
QuitLegion ( PlayerObject play ) : void
UpdateLegionInfo ( uint legion_id, int player_id ) : void

Method Details

AddMember() public method

public AddMember ( uint legion_id, PlayerObject play ) : void
legion_id uint
play PlayerObject
return void

ChangeMemberPlace() public method

public ChangeMemberPlace ( uint legion_id, String play_name, short place ) : void
legion_id uint
play_name String
place short
return void

CreateLegion() public method

public CreateLegion ( int player_id, String legion_name, String leader_name, byte title, long money, String notice ) : void
player_id int
legion_name String
leader_name String
title byte
money long
notice String
return void

CreateLegion_Ret() public method

public CreateLegion_Ret ( CreateLegion_Ret info ) : void
info GameBase.Network.Internal.CreateLegion_Ret
return void

DB_Load() public method

public DB_Load ( LEGIONINFO info ) : void
info GameBase.Network.Internal.LEGIONINFO
return void

GetLegion() public method

public GetLegion ( uint id ) : Legion
id uint
return Legion

GetPlayerLegion() public method

public GetPlayerLegion ( String playername ) : Legion
playername String
return Legion

Instance() public static method

public static Instance ( ) : LegionManager
return LegionManager

IsExist() public method

public IsExist ( String legionname ) : bool
legionname String
return bool

LegionManager() public method

public LegionManager ( ) : System
return System

QuitLegion() public method

public QuitLegion ( PlayerObject play ) : void
play PlayerObject
return void

UpdateLegionInfo() public method

public UpdateLegionInfo ( uint legion_id, int player_id ) : void
legion_id uint
player_id int
return void