public ROOM_LIST createFromStreamEx(MemoryStream stream) { ROOM_LIST datas = new ROOM_LIST(); datas.values = values_DataType.createFromStreamEx(stream); return(datas); }
public override void onReqRoomList(ROOM_LIST roomList) { for (int i = 0; i < roomList.values.Count; i++) { Debug.Log("Operation::roomkey: " + roomList.values[i].room_key + ",value: " + roomList.values[i].ToString()); } KBEngine.Event.fireOut("onReqRoomList", new object[] { roomList }); }
public override void onRemoteMethodCall(UInt16 methodUtype, MemoryStream stream) { ScriptModule sm = EntityDef.moduledefs["Operation"]; Method method = sm.idmethods[methodUtype]; switch (method.methodUtype) { case 14: Byte onCreateRoomResult_arg1 = stream.readUint8(); ROOM_INFO onCreateRoomResult_arg2 = ((DATATYPE_ROOM_INFO)method.args[1]).createFromStreamEx(stream); onCreateRoomResult(onCreateRoomResult_arg1, onCreateRoomResult_arg2); break; case 11: Byte onEnterRoomResult_arg1 = stream.readUint8(); ROOM_INFO onEnterRoomResult_arg2 = ((DATATYPE_ROOM_INFO)method.args[1]).createFromStreamEx(stream); onEnterRoomResult(onEnterRoomResult_arg1, onEnterRoomResult_arg2); break; case 13: Byte onGameBeginResult_arg1 = stream.readUint8(); onGameBeginResult(onGameBeginResult_arg1); break; case 12: Byte onLeaveRoomResult_arg1 = stream.readUint8(); onLeaveRoomResult(onLeaveRoomResult_arg1); break; case 10: ROOM_LIST onReqRoomList_arg1 = ((DATATYPE_ROOM_LIST)method.args[0]).createFromStreamEx(stream); onReqRoomList(onReqRoomList_arg1); break; case 15: Byte onTrueSyncData_arg1 = stream.readUint8(); byte[] onTrueSyncData_arg2 = stream.readBlob(); onTrueSyncData(onTrueSyncData_arg1, onTrueSyncData_arg2); break; default: break; } ; }
public abstract void onReqRoomList(ROOM_LIST arg1);
public void addToStreamEx(Bundle stream, ROOM_LIST v) { values_DataType.addToStreamEx(stream, v.values); }