public void FromBin(NetSocket.ByteArray bin) { bin.Get_(out pos.x); bin.Get_(out pos.y); bin.Get_(out scene_type_idx); bin.Get_(out scene_obj_idx); }
public new void FromBin(NetSocket.ByteArray bin) { base.FromBin(bin); int result_;bin.Get_(out result_);result = (Result)result_; bin.Get_(out ss_idx); bin.Get_(out char_idx); }
public new void FromBin(NetSocket.ByteArray bin) { base.FromBin(bin); // int e_result__; bin.Get_(out e_result__); e_result = (e_result_) e_result__; // bin.Get_(out charidx_created); }
public new void FromBin(NetSocket.ByteArray bin) { base.FromBin (bin); bin.Get_ (out param); for(uint i = 0; i < yw.YwEncrypt.LIMIT_KEY_LENGTH; ++i) { bin.Get_ (out key[i]); } }
public EncryptInfo(NetSocket.ByteArray bin) { // 跳过两个字节 bin.Move (NetSocket.CSocketManager.headerLen); bin.Get_ (out param); for (uint i = 0; i < yw.YwEncrypt.LIMIT_KEY_LENGTH; ++i) { bin.Get_ (out key [i]); } }
public new void FromBin(NetSocket.ByteArray bin) { base.FromBin(bin); bin.Get_(out char_count); bin.Get_(out last_sel_idx); for(int i = 0; i <char_count; i++) { twp.app.unit.CharacterBase ch = new twp.app.unit.CharacterBase(); ch.FromBin(bin); char_data.Add(ch); } }
public bool is_online; //是否在线 public void FromBin(NetSocket.ByteArray bin) { bin.Get_(out char_idx); char_name = bin.GetStringData((int)twp.app.unit.EUnitLimit.LIMIT_NAME_STR_LENGTH+1); byte v; bin.Get_(out v); relation_type = (RelationType)v; bin.Get_(out battle_integral); sbyte isonline; bin.Get_(out isonline); is_online = (isonline == 0)? false : true; }
public new void FromBin(NetSocket.ByteArray bin) { base.FromBin (bin); int login_result_; bin.Get_ (out login_result_); login_result = (twp.protocol.login.LoginResult)login_result_; int login_type_; bin.Get_ (out login_type_); login_type = (twp.protocol.login.LoginType)login_type_; bin.Get_ (out data_len); for(int i = 0; i < data_len; ++i) { bin.Get_ (out data[i]); } }
public byte worker_house; //矮人工匠屋数量 #endif public void FromBin(NetSocket.ByteArray bin) { #if false bin.Get_ (out silver); // 银 bin.Get_ (out copper); // 铜 bin.Get_ (out copper_max); // 铜上限 bin.Get_ (out food); // 粮食 bin.Get_ (out food_max); // 粮食上限 bin.Get_ (out population); // 人口 bin.Get_ (out population_max); // 最大人口 #else bin.Get_ (out worker_house); #endif }
public void FromBin(NetSocket.ByteArray bin) { bin.Get_ (out quest_flags); bin.Get_ (out combat_flags); bin.Get_ (out refresh_pub); bin.Get_ (out refresh_smith_shop); bin.Get_ (out guide_flags); bin.Get_ (out role_event_point); }
public void FromBin(NetSocket.ByteArray bin) { byte temp; bin.Get_(out temp); type = (twp.app.unit.UnitType)temp; innerUnion.FromBin(type, bin); }
public new void FromBin(NetSocket.ByteArray bin) { base.FromBin(bin); bin.Get_(out client_uid.fepsrv_uid); bin.Get_(out client_uid.fepsession_uid); }
public void FromBin(NetSocket.ByteArray bin) { bin.Get_(out header); }
public ushort black_max_number; //黑名单列表最大数 //RelationBaseInfo():friend_max_number(RELATION_COUNT_TOTAL_MAX),black_max_number(50){} public void FromBin(NetSocket.ByteArray bin) { bin.Get_(out friend_max_number); bin.Get_(out black_max_number); }
public void FromBin(NetSocket.ByteArray bin) { bin.Get_ (out city_id); bin.Get_ (out flags); bin.Get_ (out char_idx); bin.Get_ (out nation_type); bin.Get_ (out protected_end_time); for(uint i = 0; i < twp.app.unit.TDCONST.MAX_CITY_NAME + 1; ++i) bin.Get_(out _city_name[i]); }
public void FromBin(NetSocket.ByteArray bin) { bin.Get_ (out city_id); bin.Get_ (out char_id); bin.Get_ (out attack); bin.Get_ (out defense); bin.Get_ (out max_hp); bin.Get_ (out type_id); int temp; bin.Get_ (out temp); hero_star = (HERO_STAR)temp; bin.Get_ (out skill_id); }
public SkillListBin skill_list_bin = new SkillListBin(); //技能 public void FromBin(NetSocket.ByteArray bin) { bin.Get_ (out hero_id); bin.Get_ (out type_id); bin.Get_ (out hero_city_id); bin.Get_ (out hero_map_id); bin.Get_ (out hero_build_id); bin.Get_ (out build_order); bin.Get_ (out level); bin.Get_ (out train_times); train_cd_times_ReceiveTime =1;// AppMaster.TimeSince1970; bin.Get_ (out buy_train_times); bin.Get_ (out train_cd_times); bin.Get_ (out attack); bin.Get_ (out defense); bin.Get_ (out max_hp); bin.Get_ (out hp); skill_list_bin.FromBin (bin); }
public UInt32 levelup_cd; //技能累计cd public void FromBin(NetSocket.ByteArray bin) { bin.Get_ (out skill_id); bin.Get_ (out level); bin.Get_ (out levelup_cd); }
public void FromBin(NetSocket.ByteArray bin) { bin.Get_ (out skill_count); for (UInt32 i = 0; i < Hero_Def_Const.MAX_HERO_SKILL_SIZE/*skill_count*/; ++i) { skill_List [i] = new Skill_List (); skill_List [i].FromBin (bin); } }
public new void FromBin(NetSocket.ByteArray bin) { base.FromBin (bin); byte temp; bin.Get_ (out temp); type = (twp.app.unit.CityOperateType)temp; innerUnion.FromBin (bin, type); }
public new void FromBin(NetSocket.ByteArray bin) { base.FromBin (bin); int temp; bin.Get_ (out temp); hero_list_type = (twp.app.hero.HERO_LIST_TYPE)temp; }
public byte engineer_idle; // 闲置 public void FromBin(NetSocket.ByteArray bin) { bin.Get_ (out engineer_use); // 使用中 bin.Get_ (out engineer_idle); // 闲置 }
public void FromBin(NetSocket.ByteArray bin) { bin.Get_ (out obj_idx); bin.Move(8-4); }
public void FromBin(NetSocket.ByteArray bin) { bin.Get_ (out type_idx); bin.Get_ (out obj_idx); }
public void FromBin(NetSocket.ByteArray bin) { bin.Get_ (out char_idx); }
public void FromBin(NetSocket.ByteArray bin) { bin.Get_(out instance_rule_type); bin.Get_(out max_allow_player_count); }
public void FromBin(NetSocket.ByteArray bin) { bin.Get_ (out x); bin.Get_ (out y); }
public twp.app.city.CitysType city_type; // 城市类型 public void FromBin(NetSocket.ByteArray bin) { bin.Get_ (out area); bin.Get_ (out city_id); byte temp; bin.Get_ (out temp); city_type = (twp.app.city.CitysType)temp; }
byte[] reserved = new byte[64- sizeof(byte) * 4 - sizeof(UInt32) * 2/*sizeof(ClientSetting)*/] ; // // CharacterClientSettings() // { // assert(sizeof(CharacterClientSettings) == 64); // memset(this, 0, sizeof(CharacterClientSettings)); // } public void FromBin(NetSocket.ByteArray bin) { client_settings.FromBin(bin); for(int i = 0; i < 64- sizeof(byte) * 4 - sizeof(UInt32) * 2; ++i) bin.Get_ ( out reserved[i] ); }
public new void FromBin(NetSocket.ByteArray bin) { base.FromBin (bin); byte temp; bin.Get_ (out temp); type = (twp.app.build.BuildOperationEvent)temp; bin.Get_ (out temp); e_result = (ResultType)temp; bin.Get_ (out area_idx); bin.Get_ (out city_idx); bin.Get_ (out temp); build_type = (twp.app.build.BuildsType)temp; innerUnion.FromBin (bin, build_type); }