public GameThread(D2gsConnection connection, UInt32 chickenLife, UInt32 potLife) { m_d2gsConnection = connection; m_gameData = new GameData(); m_gameData.ChickenLife = chickenLife; m_gameData.PotLife = potLife; }
public Player(String name, UInt32 id, GameData.CharacterClassType class_, UInt32 level, Int32 x, Int32 y) : base(id,x,y) { m_name = name; m_class = class_; m_level = level; m_directoryKnown = true; }
public Player(String name, UInt32 id, GameData.CharacterClassType class_, UInt32 level) : base(id, 0, 0) { m_name = name; m_class = class_; m_level = level; m_directoryKnown = false; }
public AsciiMap(GameData gameData, D2gsConnection connection) { m_gameData = gameData; m_connection = connection; m_map = new MapPoint[width,height]; for (int x = 0; x < width; x++) { for (int y = 0; y < height; y++) { m_map[x, y] = ' '; } } }
public ClientlessBot(DataManager dm, String bnetServer, String account, String password, String classicKey, String expansionKey, uint potlife, uint chickenlife, String binaryDirectory, GameDifficulty difficulty, String gamepass) { m_eventQueue = new PriorityQueue<byte, GameEvent>(); m_battleNetServer = bnetServer; m_account = account; m_password = password; m_binaryDirectory = binaryDirectory; m_classicKey = classicKey; m_expansionKey = expansionKey; m_difficulty = difficulty; m_gamePassword = gamepass; m_potLife = potlife; m_chickenLife = chickenlife; m_keyOwner = "AlphaBot"; m_gameExeInformation = "Game.exe 03/09/10 04:10:51 61440"; m_dm = dm; m_bncs = new Bncs(this); m_mcp = new RealmServer(this); m_gs = new GameServer(this); m_bncsThread = new Thread(m_bncs.ThreadFunction); m_mcpThread = new Thread(m_mcp.ThreadFunction); m_gameData = new GameData(); m_gameCreationThread = new Thread(CreateGameThreadFunction); m_itemListLock = new Object(); }
private ClientlessBot(DataManager dm) { m_gameExeInformation = "Game.exe 03/09/10 04:10:51 61440"; m_dm = dm; m_bncs = new Bncs(this); m_mcp = new RealmServer(this); m_gs = new GameServer(this); m_bncsThread = new Thread(m_bncs.ThreadFunction); m_mcpThread = new Thread(m_mcp.ThreadFunction); m_gameData = new GameData(); m_gameCreationThread = new Thread(CreateGameThreadFunction); }