Example #1
0
    public void OnClickReadMore()
    {
        C2G.CreatureEvalMoreBoard packet = new C2G.CreatureEvalMoreBoard();
        packet.smallest_board_idx = OrderedItemList().Last().board_idx;
        packet.creature_id        = creature_id;

        Network.GameServer.JsonAsync <C2G.CreatureEvalMoreBoard, C2G.CreatureEvalMoreBoardAck>(packet, OnReadMorePacketHandler);
    }
Example #2
0
 void OnReadMorePacketHandler(C2G.CreatureEvalMoreBoard send, C2G.CreatureEvalMoreBoardAck recv)
 {
     last_loaded_count = recv.board_info.Count;
     recv.board_info.ForEach(b => item_list.Add(b));
     DrawItems();
 }