public void addToStreamEx(Bundle stream, MAIL v) { stream.writeUint64(v.senderDBID); stream.writeUnicode(v.senderName); stream.writeUint64(v.targetDBID); stream.writeUnicode(v.targetName); stream.writeUint8(v.lookOver); stream.writeUint8(v.mailType); stream.writeUnicode(v.mailInfo); stream.writeInt32(v.mailID); }
public void addToStreamEx(Bundle stream, SPACE_INFO v) { stream.writeUint64(v.space_key); stream.writeUint8(v.player_count); stream.writeInt8(v.space_state); stream.writeInt32(v.space_creater); }
public void addToStreamEx(Bundle stream, ITEM_INFO v) { stream.writeUint64(v.UUID); stream.writeInt32(v.itemId); stream.writeUint32(v.itemCount); stream.writeInt32(v.itemIndex); }
public void addToStreamEx(Bundle stream, ROOM_INFO v) { stream.writeUint64(v.room_key); stream.writeUint8(v.player_count); stream.writeInt8(v.room_state); stream.writeInt32(v.room_creater); }
public void addToStreamEx(Bundle stream, AVATAR_INFOS v) { stream.writeUint64(v.dbid); stream.writeUnicode(v.name); stream.writeUint8(v.roleType); stream.writeInt32(v.weaponId); }
public void addToStreamEx(Bundle stream, D_MATCH_REQUEST v) { stream.writeUint32(v.utype); stream.writeUint64(v.matchID); stream.writeUint32(v.passwd); stream.writeInt8(v.teamID); }
public void addToStreamEx(Bundle stream, ENTITYDATA v) { stream.writeUnicode(v.playerName); stream.writeInt32(v.playerBean); stream.writeUint8(v.roomIndex); stream.writeUint64(v.playerID); }
public void addToStreamEx(Bundle stream, PLAYRE_DATA v) { stream.writeUnicode(v.playerName); stream.writeUint64(v.playerDBID); stream.writeUint32(v.playerGold); stream.writeUint8(v.isOnLine); }
public void addToStreamEx(Bundle stream, AVATAR_INFO v) { stream.writeUint64(v.dbid); stream.writeUnicode(v.name); stream.writeUint8(v.roleType); stream.writeUint16(v.level); }
public void addToStreamEx(Bundle stream, FRIEND_INFO v) { stream.writeUint64(v.dbid); stream.writeUnicode(v.name); stream.writeUint16(v.level); stream.writeUint16(v.status); stream.writeUint16(v.icon); }
public void addToStreamEx(Bundle stream, FRIENDDATA v) { stream.writeUint8(v.status); stream.writeUint64(v.playerID); stream.writeUnicode(v.playerName); stream.writeInt32(v.playerBean); stream.writeEntitycall(v.playerEntity); }
public void addToStreamEx(Bundle stream, ROOM_INFOS v) { stream.writeUint64(v.roomKey); stream.writeUnicode(v.name); stream.writeUnicode(v.intro); stream.writeUint8(v.playerCount); stream.writeUint8(v.isPlaying); stream.writeUint8(v.hasPassword); }
public void addToStreamEx(Bundle stream, FRIENDS_LIST v) { stream.writeUint32((UInt32)v.Count); for (int i = 0; i < v.Count; ++i) { stream.writeUint64(v[i]); } ; }
public void addToStreamEx(Bundle stream, OPEN_PACK_RUL v) { stream.writeUint32((UInt32)v.Count); for (int i = 0; i < v.Count; ++i) { stream.writeUint64(v[i]); } ; }
public void addToStreamEx(Bundle stream, AVATAR_INFOS v) { stream.writeUint64(v.dbid); stream.writeUnicode(v.Name); stream.writeUint8(v.RoleType); stream.writeUint8(v.Country); stream.writeUint8(v.Sex); stream.writeInt16(v.Level); stream.writeInt32(v.Gold); }
public override void addToStream(Bundle stream, object v) { UInt64 cid = 0; Int32 id = 0; UInt16 type = 0; UInt16 utype = 0; stream.writeUint64(cid); stream.writeInt32(id); stream.writeUint16(type); stream.writeUint16(utype); }
public void addToStreamEx(Bundle stream, CHESS_INFO v) { stream.writeUint64(v.id); stream.writeUnicode(v.name); stream.writeUint64(v.level); }
public override void addToStream(Bundle stream, object v) { stream.writeUint64(Convert.ToUInt64(v)); }
public void addToStreamEx(Bundle stream, MAILDATA v) { stream.writeUint64(v.senderID); stream.writeUnicode(v.senderName); stream.writeUint64(v.recverID); }
public void addToStreamEx(Bundle stream, SYNCHRODATA v) { stream.writeUint64(v.senderID); stream.writeUint64(v.recverID); }
public void addToStreamEx(Bundle stream, CITY_SELL_GOODS_INFO v) { stream.writeUint64(v.GoodsID); stream.writeUint16(v.GoodsBaseNum); }
private void onReConnectTo_baseapp_callback(string ip, int port, bool success, object userData) { if(!success) { Dbg.ERROR_MSG(string.Format("KBEngine::reLoginBaseapp(): connect {0}:{1} is error!", ip, port)); return; } Dbg.DEBUG_MSG(string.Format("KBEngine::relogin_baseapp(): connect {0}:{1} is successfully!", ip, port)); Bundle bundle = new Bundle(); bundle.newMessage(Message.messages["Baseapp_reLoginBaseapp"]); bundle.writeString(username); bundle.writeString(password); bundle.writeUint64(entity_uuid); bundle.writeInt32(entity_id); bundle.send(_networkInterface); }
public override void addToStream(Bundle stream, object v) { stream.writeUint64(Convert.ToUInt64(v)); }
public void addToStreamEx(Bundle stream, CARD_INFO v) { stream.writeUint64(v.CardID); stream.writeUint8(v.CardNum); }