public void Initialize() { this.ServerIndices = new ServerIndices(); DescendingIndex = ServerIndices["-TestIndex"]; AscendingIndex = ServerIndices["+TestIndex"]; AscendingIndex.UpdateUserScore(UserId: 2, ScoreTimeStamp: 1000, ScoreValue: 100); DescendingIndex.UpdateUserScore(UserId: 2, ScoreTimeStamp: 1000, ScoreValue: 100); }
public TestPacketHelper(PacketType PacketType, BasePacketHandler PacketHandler) { this.ServerManager = new ServerManager(); this.AscendingIndex = ServerManager.ServerIndices["+AscendingIndex"]; this.DescendingIndex = ServerManager.ServerIndices["-DescendingIndex"]; this.PacketHandler = PacketHandler; this.PacketType = PacketType; //this.TestIndex = ServerManager.ServerIndices["-TestIndex"]; }