public bool Decode(BinaryDecoder decoder) { if (!BinaryCodec.Decode(decoder, out _itemID)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _itemName)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _itemDesc)) { return(false); } if (!BinaryCodec.Decode(decoder, out _iconName)) { return(false); } if (!BinaryCodec.Decode(decoder, out _price)) { return(false); } { int enumValue = 0; if (!BinaryCodec.Decode(decoder, out enumValue)) { return(false); } _weaponType = (E_WeaponType)enumValue; } if (!BinaryCodec.Decode(decoder, out _physicalDamage)) { return(false); } if (!BinaryCodec.Decode(decoder, out _elementalDamage)) { return(false); } if (!BinaryCodec.Decode(decoder, out _physicalCritChance)) { return(false); } if (!BinaryCodec.Decode(decoder, out _elementalCritChance)) { return(false); } if (!BinaryCodec.Decode(decoder, out _physicalRate)) { return(false); } if (!BinaryCodec.Decode(decoder, out _elementalRate)) { return(false); } if (!BinaryCodec.Decode(decoder, out _option)) { return(false); } return(true); }
public bool Decode(BinaryDecoder decoder) { if (!BinaryCodec.Decode(decoder, out _scene)) { return(false); } if (!BinaryCodec.Decode(decoder, out _index)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _characterName)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _text)) { return(false); } if (!BinaryCodec.Decode(decoder, out _eventid)) { return(false); } if (!BinaryCodec.Decode(decoder, out _nextsceneid)) { return(false); } if (!BinaryCodec.Decode(decoder, out _skip)) { return(false); } if (!BinaryCodec.Decode(decoder, out _bg)) { return(false); } if (!BinaryCodec.Decode(decoder, out _left_character)) { return(false); } if (!BinaryCodec.Decode(decoder, out _right_character)) { return(false); } if (!BinaryCodec.Decode(decoder, out _fontsize)) { return(false); } if (!BinaryCodec.Decode(decoder, out _fonteffect)) { return(false); } if (!BinaryCodec.Decode(decoder, out _bgm)) { return(false); } if (!BinaryCodec.Decode(decoder, out _sound)) { return(false); } return(true); }
public bool Decode(BinaryDecoder decoder) { if (!BinaryCodec.Decode(decoder, out _id)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _text)) { return(false); } return(true); }
public bool Decode(BinaryDecoder decoder) { if (!BinaryCodec.Decode(decoder, out _id)) { return(false); } if (!BinaryCodec.Decode(decoder, out _select)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _text)) { return(false); } if (!BinaryCodec.Decode(decoder, out _storysceneid)) { return(false); } if (!BinaryCodec.Decode(decoder, out _storyindexid)) { return(false); } return(true); }
public bool Decode(BinaryDecoder decoder) { if (!BinaryCodec.Decode(decoder, out _itemID)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _itemName)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _itemDesc)) { return(false); } if (!BinaryCodec.Decode(decoder, out _iconName)) { return(false); } if (!BinaryCodec.Decode(decoder, out _price)) { return(false); } if (!BinaryCodec.Decode(decoder, out _option)) { return(false); } { int enumValue = 0; if (!BinaryCodec.Decode(decoder, out enumValue)) { return(false); } _armorType = (E_ArmorType)enumValue; } if (!BinaryCodec.Decode(decoder, out _health)) { return(false); } if (!BinaryCodec.Decode(decoder, out _energy)) { return(false); } if (!BinaryCodec.Decode(decoder, out _healthRecover)) { return(false); } if (!BinaryCodec.Decode(decoder, out _energyRecover)) { return(false); } if (!BinaryCodec.Decode(decoder, out _physicalArmor)) { return(false); } if (!BinaryCodec.Decode(decoder, out _elementalArmor)) { return(false); } if (!BinaryCodec.Decode(decoder, out _physicalAvoid)) { return(false); } if (!BinaryCodec.Decode(decoder, out _elementalAvoid)) { return(false); } if (!BinaryCodec.Decode(decoder, out _physicalResistance)) { return(false); } if (!BinaryCodec.Decode(decoder, out _elementalResistance)) { return(false); } return(true); }
public bool Decode(BinaryDecoder decoder) { if (!BinaryCodec.Decode(decoder, out _itemID)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _itemName)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _itemDesc)) { return(false); } if (!BinaryCodec.Decode(decoder, out _iconName)) { return(false); } if (!BinaryCodec.Decode(decoder, out _price)) { return(false); } if (!BinaryCodec.Decode(decoder, out _option)) { return(false); } { int enumValue = 0; if (!BinaryCodec.Decode(decoder, out enumValue)) { return(false); } _itemType = (E_ItemType)enumValue; } { int enumValue = 0; if (!BinaryCodec.Decode(decoder, out enumValue)) { return(false); } _itemKindType = (E_ItemKindType)enumValue; } if (!BinaryCodec.Decode(decoder, out _isConsume)) { return(false); } { int enumValue = 0; if (!BinaryCodec.Decode(decoder, out enumValue)) { return(false); } _scopeType = (E_ScopeType)enumValue; } { int enumValue = 0; if (!BinaryCodec.Decode(decoder, out enumValue)) { return(false); } _occasionType = (E_OccasionType)enumValue; } return(true); }
public bool Decode(BinaryDecoder decoder) { if (!BinaryCodec.Decode(decoder, out _id)) { return(false); } { int enumValue = 0; if (!BinaryCodec.Decode(decoder, out enumValue)) { return(false); } _tileMapType = (E_TileMap)enumValue; } if (!BinaryCodec.Decode(decoder, out _name)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _displayName)) { return(false); } if (!BinaryCodec.Decode(decoder, out _sizeX)) { return(false); } if (!BinaryCodec.Decode(decoder, out _sizeY)) { return(false); } if (!BinaryCodec.Decode(decoder, out _isFog)) { return(false); } if (!BinaryCodec.Decode(decoder, out _groupname)) { return(false); } { ushort _size = 0; if (!BinaryCodec.Decode(decoder, out _size)) { return(false); } bgTileSets.Capacity = _size; for (int i = 0; i < _size; ++i) { string item = null; if (!BinaryCodec.Decode(decoder, out item)) { return(false); } bgTileSets.Add(item); } } { ushort _size = 0; if (!BinaryCodec.Decode(decoder, out _size)) { return(false); } objectTileSets.Capacity = _size; for (int i = 0; i < _size; ++i) { string item = null; if (!BinaryCodec.Decode(decoder, out item)) { return(false); } objectTileSets.Add(item); } } return(true); }
public bool Decode(BinaryDecoder decoder) { if (!BinaryCodec.Decode(decoder, out _ID)) { return(false); } if (!BinaryCodec.Decode(decoder, out _Name)) { return(false); } { int enumValue = 0; if (!BinaryCodec.Decode(decoder, out enumValue)) { return(false); } _CharacterType = (E_CharacterType)enumValue; } if (!BinaryCodec.DecodeUnicodeString(decoder, out _displayName)) { return(false); } if (!BinaryCodec.Decode(decoder, out _spriteName)) { return(false); } if (!BinaryCodec.Decode(decoder, out _default_str)) { return(false); } if (!BinaryCodec.Decode(decoder, out _default_dex)) { return(false); } if (!BinaryCodec.Decode(decoder, out _default_con)) { return(false); } if (!BinaryCodec.Decode(decoder, out _default_int)) { return(false); } if (!BinaryCodec.Decode(decoder, out _default_spr)) { return(false); } if (!BinaryCodec.Decode(decoder, out _default_wis)) { return(false); } if (!BinaryCodec.Decode(decoder, out _default_hp)) { return(false); } if (!BinaryCodec.Decode(decoder, out _default_mp)) { return(false); } if (!BinaryCodec.Decode(decoder, out _rewordXP)) { return(false); } if (!BinaryCodec.Decode(decoder, out _rewordGold)) { return(false); } if (!BinaryCodec.Decode(decoder, out _isDrop)) { return(false); } if (!BinaryCodec.Decode(decoder, out _dropList)) { return(false); } return(true); }
public bool Decode(BinaryDecoder decoder) { if (!BinaryCodec.Decode(decoder, out _statusEffectID)) { return(false); } { int enumValue = 0; if (!BinaryCodec.Decode(decoder, out enumValue)) { return(false); } _statusEffectType = (E_StatusEffectType)enumValue; } if (!BinaryCodec.Decode(decoder, out _iconName)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _displayName)) { return(false); } if (!BinaryCodec.DecodeUnicodeString(decoder, out _description)) { return(false); } if (!BinaryCodec.Decode(decoder, out _percent)) { return(false); } if (!BinaryCodec.Decode(decoder, out _fix)) { return(false); } { int enumValue = 0; if (!BinaryCodec.Decode(decoder, out enumValue)) { return(false); } _elementType = (E_ElementType)enumValue; } if (!BinaryCodec.Decode(decoder, out _variance)) { return(false); } if (!BinaryCodec.Decode(decoder, out _isCritical)) { return(false); } if (!BinaryCodec.Decode(decoder, out _criticalProbability)) { return(false); } if (!BinaryCodec.Decode(decoder, out _vfxEffect)) { return(false); } if (!BinaryCodec.Decode(decoder, out _soundEffect)) { return(false); } if (!BinaryCodec.Decode(decoder, out _effectColor)) { return(false); } return(true); }